Skip to content

Commit

Permalink
chore: add gh wf test test_ct_action_noverify
Browse files Browse the repository at this point in the history
  • Loading branch information
fty4 committed Oct 31, 2023
1 parent 96db42b commit 3bf8415
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,34 @@ jobs:
else
exit 0
fi
test_ct_action_noverify:
runs-on: ubuntu-latest

name: Install chart-testing and test presence in path
steps:
- uses: actions/checkout@v4
- name: Install chart-testing
uses: ./
with:
verify_blob: 'false'
- name: Check install!
run: |
ct version
CT_VERSION_OUTPUT=$(ct version 2>&1 /dev/null)
ACTUAL_VERSION=$(echo "$CT_VERSION_OUTPUT" | grep Version | rev | cut -d ' ' -f1 | rev)
if [[ $ACTUAL_VERSION != 'v3.9.0' ]]; then
echo 'should be v3.9.0'
exit 1
else
exit 0
fi
shell: bash
- name: Check root directory
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'should be clean'
exit 1
else
exit 0
fi

0 comments on commit 3bf8415

Please sign in to comment.