Skip to content

Commit

Permalink
use github actions better
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Aug 19, 2024
1 parent eb153c6 commit 64dce10
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/actions/coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ runs:

- name: Enforce coverage
shell: bash
if: steps.test-coverage.outputs.coverage_status != 0
run: |
if [ "${{ steps.test-coverage.outputs.coverage_status }}" != "0" ]; then
echo "Code isn't fully covered!"
if [ "${{ inputs.enforce }}" == "true" ]; then
exit 1
fi
else
echo "Code is fully covered!"
echo "Code isn't fully covered!"
if [ "${{ inputs.enforce }}" == "true" ]; then
exit 1
fi

0 comments on commit 64dce10

Please sign in to comment.