Skip to content

Commit

Permalink
Implement a collector job to verify matrix job results
Browse files Browse the repository at this point in the history
  • Loading branch information
burnash committed Apr 12, 2023
1 parent 758b0e4 commit 5162c14
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,14 @@ jobs:
if: runner.os == 'Windows'
name: Run tests Windows
shell: cmd
matrix_job_required_check:
name: Test common check
needs: run_common
runs-on: ubuntu-latest
if: always()
steps:
- name: Check matrix job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1

0 comments on commit 5162c14

Please sign in to comment.