Skip to content

Commit 004aaea

Browse files
authored
Merge pull request #16 from script-development/ci-add-ci-passed-aggregate
ci: add ci-passed aggregate check for the town-crier trial (TC-0069)
2 parents 0c43653 + bccb7d4 commit 004aaea

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,17 @@ jobs:
3737

3838
- name: Tests
3939
run: composer test
40+
41+
# Aggregate tracked by the town-crier trial (TC-0069), intended as the single
42+
# required check (the matrix legs stop being individually required).
43+
ci-passed:
44+
name: ci-passed
45+
runs-on: ubuntu-latest
46+
needs: [check]
47+
if: always()
48+
steps:
49+
- name: Verify all lanes passed
50+
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
51+
run: |
52+
echo "One or more CI lanes did not pass."
53+
exit 1

0 commit comments

Comments
 (0)