Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,23 @@ jobs:
compose-files: ""
verbose: true
command: "compose up --dry-run --project-name github-action-test"

# Standard DefangLabs CI gate.
#
# One check name that the org ruleset can require in every repo. GitHub rulesets
# can only require a literal check name, so the name must be the same everywhere.
# This job has no `paths:` filter, so the `ci` check always reports on a PR and
# can never hang a merge. A job it needs that is skipped counts as a pass, so the
# jobs above may stay path-filtered.
#
# NOTE: if this repo ever turns on a merge queue, add `merge_group:` to the
# triggers above, or the required `ci` check will not report in the queue.
ci:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not rename test?

needs: [test]
if: always()
runs-on: ubuntu-latest
permissions: {}
steps:
- name: Fail if a needed job failed or was cancelled
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
Loading