Skip to content

Commit

Permalink
Add a small gap between the threshold and the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yogyagamage authored Sep 16, 2024
1 parent 7eca521 commit d0685cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
coverage=$COVERAGE
threshold=24.46
if (( $(echo "$coverage <= $threshold" | bc -l) )); then
if (( $(echo "$coverage - $threshold <= 0.1" | bc -l) )); then
echo "Coverage is not improved."
exit 1
else
Expand Down

0 comments on commit d0685cc

Please sign in to comment.