Skip to content

Commit 235046b

Browse files
committed
ci: add helm lint + unittest workflow
Runs on push/PR to main when charts/ or test/helm-test.sh change.
1 parent bd411e6 commit 235046b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/helm-test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Helm Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'charts/**'
8+
- 'test/helm-test.sh'
9+
pull_request:
10+
branches: [main]
11+
paths:
12+
- 'charts/**'
13+
- 'test/helm-test.sh'
14+
workflow_dispatch:
15+
16+
jobs:
17+
helm-test:
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 5
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Set up Helm
24+
uses: azure/setup-helm@v4
25+
26+
- name: Install helm-unittest plugin
27+
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git
28+
29+
- name: Run helm lint + unittest
30+
run: ./test/helm-test.sh

0 commit comments

Comments
 (0)