Only run tests if a chart changed
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user