Skip to content

Commit

Permalink
ci: Fix broken coverage check command
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericojordan committed Apr 12, 2022
1 parent 88db192 commit 8602d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
${{ steps.cov-diff.outputs.result }}
```
- name: Check coverage
run: awk 'BEGIN{ if (${{ env.cov_base }} > ${{ env.cov_head }}) {print "::error::Coverage has decreased from ${{ env.cov_base }}% to ${{ env.cov_head }}
run: awk 'BEGIN{ if (${{ env.cov_base }} > ${{ env.cov_head }}) {print "::error::Coverage has decreased from ${{ env.cov_base }}% to ${{ env.cov_head }}%"; exit 1;} else {print "OK! Total coverage is ${{ env.cov_head }}%"}}'

0 comments on commit 8602d62

Please sign in to comment.