File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -140,4 +140,19 @@ jobs:
140140 run : ${{ matrix.test-cmd }}
141141 # TODO (#4001): replace specific modules above with this once Windows tests are passing.
142142 if : ${{ !(matrix.os == 'windows-latest' && (matrix.module == 'api' || matrix.module == 'kustomize')) }}
143- working-directory : ./${{ matrix.module }}
143+ working-directory : ./${{ matrix.module }}
144+
145+ # Aggregation matrix tests from test-modules for branch protection rules
146+ test-modules-summary :
147+ name : Test Summary
148+ runs-on : ubuntu-latest
149+ needs : test-modules
150+ if : always()
151+ steps :
152+ - name : Check test results
153+ run : |
154+ if [[ "${{ needs.test-modules.result }}" != "success" ]]; then
155+ echo "Some tests failed or were cancelled"
156+ exit 1
157+ fi
158+ echo "All tests passed successfully"
You can’t perform that action at this time.
0 commit comments