@@ -11,8 +11,13 @@ permissions:
1111 contents : read
1212
1313jobs :
14- operator-test :
14+ operator-test-matrix :
1515 runs-on : ubuntu-latest
16+ strategy :
17+ matrix :
18+ helm-version :
19+ - " v3.9.4"
20+ - " v4.0.3"
1621 steps :
1722 - name : Checkout
1823 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2227 uses : ./.github/actions/setup
2328 with :
2429 create-kind-cluster : " true"
30+ helm-version : ${{ matrix.helm-version }}
2531
2632 - name : Check CRDs
2733 run : make check-operator-crds
7783 mkdir -p ./.testresults/e2e
7884 chainsaw test --test-dir ./tests/e2e --exclude-test-regex "chainsaw/multiple-configmaps" --exclude-test-regex "chainsaw/smoke-pod-dns-config" --exclude-test-regex "chainsaw/operator-metrics"
7985
80- operator-test-no-certmanager :
86+ operator-test :
87+ if : always()
88+ runs-on : ubuntu-latest
89+ needs : [operator-test-matrix]
90+ steps :
91+ - name : Check matrix result
92+ run : |
93+ if [[ "${{ needs.operator-test-matrix.result }}" == "success" ]]; then
94+ echo "All matrix jobs passed!"
95+ else
96+ echo "One or more matrix jobs failed."
97+ exit 1
98+ fi
99+
100+ operator-test-no-certmanager-matrix :
81101 runs-on : ubuntu-latest
102+ strategy :
103+ matrix :
104+ helm-version :
105+ - " v3.9.4"
106+ - " v4.0.3"
82107 steps :
83108 - name : Checkout
84109 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
88113 uses : ./.github/actions/setup
89114 with :
90115 create-kind-cluster : " true"
116+ helm-version : ${{ matrix.helm-version }}
91117
92118 - name : Check CRDs
93119 run : make check-operator-crds
@@ -137,3 +163,17 @@ jobs:
137163 run : |
138164 mkdir -p ./.testresults/e2e
139165 chainsaw test --test-dir ./tests/e2e --exclude-test-regex "chainsaw/multiple-configmaps" --exclude-test-regex "chainsaw/smoke-pod-dns-config" --exclude-test-regex "chainsaw/operator-metrics"
166+
167+ operator-test-no-certmanager :
168+ if : always()
169+ runs-on : ubuntu-latest
170+ needs : [operator-test-no-certmanager-matrix]
171+ steps :
172+ - name : Check matrix result
173+ run : |
174+ if [[ "${{ needs.operator-test-no-certmanager-matrix.result }}" == "success" ]]; then
175+ echo "All matrix jobs passed!"
176+ else
177+ echo "One or more matrix jobs failed."
178+ exit 1
179+ fi
0 commit comments