Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/helm-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
- name: Checkout the code
uses: actions/checkout@v4

# Subchart .tgz files are gitignored, so a fresh checkout has no charts/.
# Pull dependencies first so tests that render subchart templates (e.g.
# deriving the redis master host from the redis subchart fullname) pass.
- name: Setup Helm
uses: azure/setup-helm@v4
with:
version: v4.1.4

# charts/ is gitignored, so pull subcharts before running the tests.
# Done here, not in the container, which can't write to the mounted dir.
- name: Build chart dependencies
run: |
docker run --rm -v $(pwd):/apps --entrypoint helm helmunittest/helm-unittest dependency update .
run: helm dependency build

- name: Unittest
run: |
Expand Down
Loading