Skip to content

Commit

Permalink
dbg print
Browse files Browse the repository at this point in the history
  • Loading branch information
tonda-kriz committed Oct 22, 2024
1 parent 6ac971f commit 59502b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-linux-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
run: |
genhtml --help
lcov --capture -o coverage.info --directory . --exclude '/usr/*' --exclude '*/test/*' -q --gcov-tool gcov-14
genhtml coverage.info --include 'include/*' --output-directory report/library
coverage=$(genhtml coverage.info --include 'include/*' --output-directory report/library | grep -P 'lines\.+'| grep -oP '[0-9]+')
if (( $(echo "$coverage <= 50" | bc -l) )); then
color=red
Expand All @@ -84,7 +85,6 @@ jobs:
color=orange
fi
curl "https://img.shields.io/badge/coverage-$coverage%25-$color" > report/library/coverage.svg
coverage=$(genhtml coverage.info --include 'compiler/*' --output-directory report/compiler | grep -P 'lines\.+'| grep -oP '[0-9]+')
if (( $(echo "$coverage <= 50" | bc -l) )); then
color=red
Expand Down

0 comments on commit 59502b0

Please sign in to comment.