Only run tests if a chart changed

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2022-12-15 10:22:27 +01:00
parent 1ed5cf1239
commit 320dce4eb2
+2 -1
View File
@@ -74,6 +74,8 @@ jobs:
needs:
- lint-chart
if: needs.lint-chart.outputs.changed == 'true'
strategy:
fail-fast: false
matrix:
@@ -112,7 +114,6 @@ jobs:
- name: Create kind ${{ matrix.k8s }} cluster
uses: helm/[email protected]
# Only build a kind cluster if there are chart changes to test.
if: needs.lint-chart.outputs.changed == 'true'
with:
version: v0.17.0
node_image: kindest/node:${{ matrix.k8s }}