fix: release action #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Test Chart | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: azure/setup-helm@v3 | |
- name: install unittest plugin | |
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git | |
- uses: helm/kind-action@v1.8.0 | |
- name: unit tests | |
run: | | |
helm unittest . | |
- name: template tests | |
run: | | |
for file in test-values/*; do | |
echo "############## template $file ###############" | |
helm template --debug --validate gts-test . -f $file | |
echo "#############################################" | |
done | |
- name: integration tests | |
run: | | |
for file in test-values/*; do | |
echo "############## install $file ################" | |
helm install --wait gts-test . -f $file | |
helm uninstall --wait gts-test | |
echo "#############################################" | |
done |