Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Oct 26, 2024
1 parent adacd37 commit 5c306bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
types: [opened, synchronize, reopened]

env:
helm: v3.16.2
python-version: 3.x

jobs:
Expand Down Expand Up @@ -39,10 +40,8 @@ jobs:
fail-fast: false
matrix:
versions:
- helm: v3.16.2
kubectl: v1.16.0
- helm: v3.16.2
kubectl: v1.31.2
- kubectl: v1.16.0
- kubectl: v1.29.3

test_cases:
- name: Default - no custom values
Expand Down Expand Up @@ -81,7 +80,7 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: ${{ matrix.versions.helm }}
version: ${{ env.helm }}

- uses: actions/setup-python@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions charts/monica/templates/tests/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ kind: Pod
metadata:
name: {{ $fullName }}-unit-tests
labels:
purpose: "helm-test"
purpose: helm-test
annotations:
"helm.sh/hook": test-success
helm.sh/hook: test-success
spec:
serviceAccountName: {{ include "monica.serviceAccountName" . }}
{{- with .Values.image.pullSecrets }}
Expand Down

0 comments on commit 5c306bc

Please sign in to comment.