Skip to content

Commit

Permalink
Add pipeline to run helm unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 committed Sep 23, 2023
1 parent 140ef42 commit 84ba5f4
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: "18"
- name: Install Dependencies
run: npm ci
- name: Lint
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: "18"
- name: Install Backend Dependencies
run: npm ci
- name: "Install UI Dependencies"
Expand All @@ -53,8 +53,25 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: "1.20"
- name: "Lint"
run: go vet
- name: "Test"
run: go test -cover

helm:
name: Helm
runs-on: ubuntu-latest
defaults:
run:
working-directory: helm/multi-juicer/
steps:
- uses: actions/checkout@v3
- name: Verify tools
run: |
helm version
- name: Install Helm Unit Test Plugin
run: |
helm plugin install https://github.com/helm-unittest/helm-unittest.git --version 0.3.5
- name: Helm-Chart Unit Tests | Operator
run: helm unittest .

0 comments on commit 84ba5f4

Please sign in to comment.