Skip to content
Merged
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
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,24 @@ jobs:

- name: 'Run integration tests'
run: cargo test --locked -p http_canister -p json_rpc_canister

# Single aggregator status check. Configure GitHub branch protection
# to require `checks-pass` so that any failing, cancelled, or skipped
# upstream job blocks the merge, without having to enumerate every
# individual job in the ruleset.
checks-pass:
# Always run this job!
if: always()
needs:
[
lint,
cargo-doc,
unit-tests,
integration-tests,
]
runs-on: ubuntu-latest
steps:
- run: |
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}" == "true" ]]; then
exit 1
fi
Loading