Skip to content

Commit

Permalink
ci/coverage: downgrade gcovr (#365)
Browse files Browse the repository at this point in the history
fixes #364
  • Loading branch information
sreimers authored May 15, 2022
1 parent 48efc92 commit e545b0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
- name: install gcovr
run: |
pip install gcovr
pip install gcovr==5.0
- name: coverage check
run: |
min_cov="57.7"
min_cov="57.1"
cov=$(~/.local/bin/gcovr -r . -s | grep lines | awk '{ print $2 }' | sed 's/%//')
echo "Coverage: ${cov}% (min $min_cov%)"
exit $(echo "$cov < $min_cov" | bc -l)

0 comments on commit e545b0d

Please sign in to comment.