Skip to content

Commit a8763a4

Browse files
committed
add check_all
1 parent 6345eef commit a8763a4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci_tests_experimental.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,19 @@ jobs:
8282
name: Unit Test Results
8383
path: "**/build/test-results/**/*.xml"
8484

85+
# A job that fails if any job in the unit_tests matrix fails,
86+
# to be used as a required check for merging.
87+
check_all:
88+
runs-on: ubuntu-22.04
89+
if: always()
90+
name: Unit Tests (matrix)
91+
needs: unit_tests
92+
steps:
93+
- name: Check test matrix
94+
if: needs.unit_tests.result != 'success'
95+
run: exit 1
96+
97+
8598
integ_tests:
8699
name: "Instrumentation Tests"
87100
# only run on post submit or PRs not originating from forks.

0 commit comments

Comments
 (0)