mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 10:15:22 +00:00
add aggregation job for all matrix released module tests to define a branch protection rule
This commit is contained in:
17
.github/workflows/go.yml
vendored
17
.github/workflows/go.yml
vendored
@@ -140,4 +140,19 @@ jobs:
|
||||
run: ${{ matrix.test-cmd }}
|
||||
# TODO (#4001): replace specific modules above with this once Windows tests are passing.
|
||||
if: ${{ !(matrix.os == 'windows-latest' && (matrix.module == 'api' || matrix.module == 'kustomize')) }}
|
||||
working-directory: ./${{ matrix.module }}
|
||||
working-directory: ./${{ matrix.module }}
|
||||
|
||||
# Aggregation matrix tests from test-modules for branch protection rules
|
||||
test-modules-summary:
|
||||
name: Test Summary
|
||||
runs-on: ubuntu-latest
|
||||
needs: test-modules
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check test results
|
||||
run: |
|
||||
if [[ "${{ needs.test-modules.result }}" != "success" ]]; then
|
||||
echo "Some tests failed or were cancelled"
|
||||
exit 1
|
||||
fi
|
||||
echo "All tests passed successfully"
|
||||
|
||||
Reference in New Issue
Block a user