Skip to content

Commit e35206b

Browse files
authored
Merge pull request #1551 from NobodyXu/patch-1
Add job test-pass for stable job name
2 parents da08b8b + 943350a commit e35206b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,24 @@ jobs:
246246
set -x
247247
git status
248248
git diff --exit-code
249+
250+
# Dummy job to have a stable name for the "all tests pass" requirement
251+
tests-pass:
252+
name: Tests pass
253+
needs:
254+
- pure-rust-build
255+
- test
256+
- test-fast
257+
- test-32bit
258+
- installation
259+
- lint
260+
- cargo-deny
261+
- wasm
262+
- check-packetline
263+
if: always() # always run even if dependencies fail
264+
runs-on: ubuntu-latest
265+
steps:
266+
# fail if ANY dependency has failed or cancelled
267+
- if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')"
268+
run: exit 1
269+
- run: exit 0

0 commit comments

Comments
 (0)