Skip to content

Commit

Permalink
Don't fail CI on coverage decrease
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Oct 20, 2021
1 parent c595a1c commit f02eb5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
TOTAL_COVER=`go tool cover -func=coverage.out | grep total | grep -Eo '[0-9]+\.[0-9]+'`
echo "Total coverage was: $TOTAL_COVER %"
echo "Expected coverage: $EXPECTED_COVER %"
(( $(echo "$TOTAL_COVER >= $EXPECTED_COVER" | bc -l) )) && exit 0 || exit 1
- name: Run integration tests
env:
Expand Down

0 comments on commit f02eb5a

Please sign in to comment.