Skip to content

Commit

Permalink
Test with used Helm version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 30, 2022
1 parent 1ba59c2 commit acf5131
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Continuous integration

on:
push:
branches:
- master
tags:
- '*'
pull_request:

env:
Expand All @@ -15,6 +19,13 @@ jobs:
timeout-minutes: 20
if: "!startsWith(github.event.head_commit.message, '[skip ci] ')"

strategy:
fail-fast: true
matrix:
helm:
- latest
- 3.5.1

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -34,11 +45,14 @@ jobs:

- name: Install helm
uses: azure/setup-helm@v1
with:
version: ${{ matrix.helm }}
- run: helm dependency update .
- run: helm lint .
- run: helm lint --values=tests/values.yaml .
- run: helm template --namespace=default --values=tests/values.yaml custom . > tests/actual.yaml
- run: diff --ignore-trailing-space tests/actual.yaml tests/expected.yaml
if: matrix.helm == 'master'

- name: Setup k3s/k3d
run: c2cciutils-k8s-install
Expand Down

0 comments on commit acf5131

Please sign in to comment.