Skip to content

Commit cb00c84

Browse files
Merge pull request #52 from script-development/ci/ci-passed-aggregate
ci: add ci-passed aggregate check for the town-crier trial (TC-0069)
2 parents bbcb7da + 2dbf5b0 commit cb00c84

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,18 @@ jobs:
6161
path: build/logs/infection.*
6262
retention-days: 14
6363
if-no-files-found: ignore
64+
65+
# Aggregate tracked by the town-crier trial (TC-0069); intended as the single
66+
# required check (the matrix legs stop being individually required). A `needs`
67+
# on a matrix job waits for every leg.
68+
ci-passed:
69+
name: ci-passed
70+
runs-on: ubuntu-latest
71+
needs: [check]
72+
if: always()
73+
steps:
74+
- name: Verify all matrix legs passed
75+
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
76+
run: |
77+
echo "One or more CI lanes did not pass."
78+
exit 1

0 commit comments

Comments
 (0)