File tree Expand file tree Collapse file tree 1 file changed +30
-25
lines changed
Expand file tree Collapse file tree 1 file changed +30
-25
lines changed Original file line number Diff line number Diff line change @@ -44,33 +44,38 @@ jobs:
4444 echo "::set-output name=detected::true"
4545 fi
4646
47- # unit-test:
48- # needs:
49- # - generate-install-matrix
50- # if: needs.generate-install-matrix.outputs.detected == 'true'
51- # name: Run unit tests
52- # strategy:
53- # matrix: ${{ fromJson(needs.generate-install-matrix.outputs.matrix) }}
54- # fail-fast: true
55- # max-parallel: 15
56- # runs-on: ubuntu-latest
57- # steps:
58- # - name: Checkout
59- # uses: actions/checkout@v4
60- # with:
61- # fetch-depth: 0
62- # ref: ${{ inputs.checkoutCommit }}
63- # persist-credentials: false
47+ unit-test :
48+ needs :
49+ - generate-install-matrix
50+ if : needs.generate-install-matrix.outputs.detected == 'true'
51+ name : Run unit tests
52+ strategy :
53+ matrix : ${{ fromJson(needs.generate-install-matrix.outputs.matrix) }}
54+ fail-fast : true
55+ max-parallel : 15
56+ runs-on : ubuntu-latest
57+ steps :
58+ - name : Checkout
59+ uses : actions/checkout@v4
60+ with :
61+ fetch-depth : 0
62+ ref : ${{ inputs.checkoutCommit }}
63+ persist-credentials : false
6464
65- # - name: Install Kubernetes tools
66- # uses: yokawasa/action-setup-kube-tools@v0.13.1
67- # with:
68- # setup-tools: |
69- # helmv3
65+ - name : Install Kubernetes tools
66+ uses : yokawasa/action-setup-kube-tools@v0.13.1
67+ with :
68+ setup-tools : |
69+ helmv3
70+ yq
7071
71- # - name: Run tests
72- # run: |
73- # helm dependency update && helm template ${{ matrix.chart }} --values ${{ matrix.chart }}/values.yaml
72+ - name : Run tests
73+ run : |
74+ for repo in $(yq '.chart-repos' .github/ct-install.yaml); do
75+ helm repo add ${repo%*=} ${repo#*=}
76+ done
77+ helm dependency update
78+ helm template ${{ matrix.chart }} --values ${{ matrix.chart }}/values.yaml > /dev/null
7479
7580 install-charts :
7681 needs :
You can’t perform that action at this time.
0 commit comments