]> Nishi Git Mirror - gwion.git/commitdiff
use html dir
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 17 Feb 2020 20:01:31 +0000 (21:01 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Mon, 17 Feb 2020 20:01:31 +0000 (21:01 +0100)
.github/workflows/coverage.yml

index 3a465c0a92c232f16a67081b52a453c6489d4524..db1b712d7296a347b06f7dd294261559cc753659 100644 (file)
@@ -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