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:
|
needs:
|
||||||
- lint-chart
|
- lint-chart
|
||||||
|
|
||||||
|
if: needs.lint-chart.outputs.changed == 'true'
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -112,7 +114,6 @@ jobs:
|
|||||||
- name: Create kind ${{ matrix.k8s }} cluster
|
- name: Create kind ${{ matrix.k8s }} cluster
|
||||||
uses: helm/[email protected]
|
uses: helm/[email protected]
|
||||||
# Only build a kind cluster if there are chart changes to test.
|
# Only build a kind cluster if there are chart changes to test.
|
||||||
if: needs.lint-chart.outputs.changed == 'true'
|
|
||||||
with:
|
with:
|
||||||
version: v0.17.0
|
version: v0.17.0
|
||||||
node_image: kindest/node:${{ matrix.k8s }}
|
node_image: kindest/node:${{ matrix.k8s }}
|
||||||
|
|||||||
Reference in New Issue
Block a user