Skip to content

Commit 3cd4d56

Browse files
committed
chore: add gh wf test test_ct_action_noverify
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
1 parent 96db42b commit 3cd4d56

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test-action.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,34 @@ jobs:
6565
else
6666
exit 0
6767
fi
68+
69+
test_ct_action_noverify:
70+
runs-on: ubuntu-latest
71+
72+
name: Install chart-testing and test presence in path
73+
steps:
74+
- uses: actions/checkout@v4
75+
- name: Install chart-testing
76+
uses: ./
77+
with:
78+
verify_blob: 'false'
79+
- name: Check install!
80+
run: |
81+
ct version
82+
CT_VERSION_OUTPUT=$(ct version 2>&1 /dev/null)
83+
ACTUAL_VERSION=$(echo "$CT_VERSION_OUTPUT" | grep Version | rev | cut -d ' ' -f1 | rev)
84+
if [[ $ACTUAL_VERSION != 'v3.9.0' ]]; then
85+
echo 'should be v3.9.0'
86+
exit 1
87+
else
88+
exit 0
89+
fi
90+
shell: bash
91+
- name: Check root directory
92+
run: |
93+
if [[ $(git diff --stat) != '' ]]; then
94+
echo 'should be clean'
95+
exit 1
96+
else
97+
exit 0
98+
fi

0 commit comments

Comments
 (0)