Skip to content

Commit

Permalink
use html dir
Browse files Browse the repository at this point in the history
  • Loading branch information
fennecdjay committed Feb 17, 2020
1 parent 028cc0a commit 1842df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
printf '# Gwion coverage\n```\n' > gwion-coverage-report/README.md
gcovr -s --filter '.*\.c$' src >> gwion-coverage-report/README.md
printf '```\n' >> gwion-coverage-report/README.md
mkdir gwion-coverage-report/html
mkdir gwion-coverage-report/html || true
COV_TXT=$(gcovr -s --html-details gwion-coverage-report/html/index.html --html-title "Gwion coverage report" --filter '.*\.c$' src | grep lines | cut -d" " -f2)
COV_NUM=${COV_TXT: : -1}
echo $COV_NUM > gwion-coverage-report/coverage_num.txt
Expand Down

0 comments on commit 1842df9

Please sign in to comment.