Skip to content

Commit 954de0f

Browse files
authored
Bugfix/lint workflow (CloudPirates-io#366)
* Fix invalid caching in github workflow * fix invalid testing script * Fix unit tests yet again * hofixes * Disavle unit test for clusterpirate * Fix if statement not found --------- Signed-off-by: Finn Rades <64548817+zOnlyKroks@users.noreply.github.com>
1 parent adeac21 commit 954de0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
- name: Run chart testing (lint & unittest)
7979
if: steps.list-changed.outputs.changed == 'true'
80-
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --validate-maintainers=false --additional-commands "if [ ! -f {{ .Path }}/.disable-unittest ]; then helm unittest {{ .Path }}; else echo 'Skipping unittest for {{ .Path }} (.disable-unittest found)'; fi"
80+
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --validate-maintainers=false --additional-commands "sh -c 'if [ ! -f {{ .Path }}/.disable-unittest ]; then helm unittest {{ .Path }}; else echo \"Skipping unittest for {{ .Path }} (.disable-unittest found)\"; fi'"
8181

8282
integration-test:
8383
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)