Fix template tests and add go test on gha-validate-chart (#3886)

This commit is contained in:
Nikola Jokic
2025-01-15 15:54:33 +01:00
committed by GitHub
parent 7b5a02b0b6
commit 66172ab0bd
2 changed files with 19 additions and 0 deletions

View File

@@ -123,3 +123,17 @@ jobs:
if: steps.list-changed.outputs.changed == 'true'
run: |
ct install --config charts/.ci/ct-config-gha.yaml
test-chart:
name: Test Chart
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- name: Test gha-runner-scale-set
run: go test ./charts/gha-runner-scale-set/...
- name: Test gha-runner-scale-set-controller
run: go test ./charts/gha-runner-scale-set-controller/...