Skip to content

Commit 89737fd

Browse files
committed
ci: add aggregator gate
1 parent 500742f commit 89737fd

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,14 @@ jobs:
204204
name: playwright-a11y-result-${{ strategy.job-index }}-${{ github.run_attempt }}
205205
path: ${{ github.workspace }}/reports/e2e/a11y-report.json
206206
retention-days: 7
207+
208+
check-tests-passed:
209+
needs: [e2e-playwright]
210+
runs-on: ubuntu-latest
211+
if: always()
212+
steps:
213+
- name: Check all test jobs passed
214+
run: |
215+
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
216+
exit 1
217+
fi

0 commit comments

Comments
 (0)