From: Jérémie Astor Date: Sun, 16 Feb 2020 20:17:49 +0000 (+0100) Subject: :wrench: Update X-Git-Tag: nightly~1903 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6ddbde3cfdfb4a756a7ae1c92e2f3b53da32430d;p=gwion.git :wrench: Update --- diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e7d7f49c..2b3d6200 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -47,8 +47,8 @@ jobs: run: | 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 - COV_TXT=$(gcovr -s --html-details gwion-coverage-report/index.html --filter '.*\.c$' src | grep lines | cut -d" " -f2) + printf '```\n' >> gwion-coverage-report/README.md + COV_TXT=$(gcovr -s --html-details gwion-coverage-report/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 if [ $(python -c "print( $COV_NUM >= 90 )") = True ]