Skip to content

Commit 16375fe

Browse files
committed
Run unittests on push
1 parent b555b78 commit 16375fe

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/on-push-lint-charts.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
KUBE_SCORE_VERSION: 1.17.0
1616
HELM_VERSION: v3.13.2
1717

18-
concurrency:
18+
concurrency:
1919
group: ${{ github.ref }}
2020
cancel-in-progress: true
2121

@@ -44,12 +44,27 @@ jobs:
4444
KUBE_SCORE: /tmp/bin/kube-score
4545
run: .ci/scripts/kube-score.sh
4646

47+
unittest:
48+
runs-on: ubuntu-latest
49+
steps:
50+
- name: Checkout
51+
uses: actions/checkout@v4
52+
with:
53+
fetch-depth: 0
54+
55+
- name: install helm unittest
56+
run: |
57+
helm plugin install https://github.com/helm-unittest/helm-unittest.git
58+
59+
- name: Run helm unittest
60+
run: helm unittest charts/*
61+
4762
chart-testing:
4863
runs-on: ubuntu-latest
4964
strategy:
5065
matrix:
5166
# Choose from https://hub.docker.com/r/kindest/node/tags
52-
KubeVersion: [1.27.3, 1.28.0, 1.29.0]
67+
KubeVersion: [ 1.27.3, 1.28.0, 1.29.0 ]
5368

5469
steps:
5570
- name: Checkout

0 commit comments

Comments
 (0)