]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Update
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 16 Feb 2020 20:17:49 +0000 (21:17 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 16 Feb 2020 20:17:49 +0000 (21:17 +0100)
.github/workflows/coverage.yml

index e7d7f49cc96d7d2c9d3170a79e29a03cc666d0fd..2b3d620046f570f9b1111398263d00279b1c6207 100644 (file)
@@ -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 ]