From: Jérémie Astor Date: Mon, 17 Feb 2020 20:01:31 +0000 (+0100) Subject: use html dir X-Git-Tag: nightly~1876 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=1842df93a168b99892e77484f38ce1fabd2ae2cb;p=gwion.git use html dir --- diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3a465c0a..db1b712d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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