]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: test links
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 20 Feb 2020 11:19:52 +0000 (12:19 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 20 Feb 2020 11:19:52 +0000 (12:19 +0100)
.github/workflows/coverage.yml

index 231a82f218d9d110c129cfdc72eae627ca256fb8..726baecf1c3e04abfb9767d773d966a4dd74521a 100644 (file)
@@ -52,7 +52,8 @@ jobs:
         gcovr -s --filter '.*\.c$' src >> gwion-coverage-report/README.md
         printf '```\n' >> gwion-coverage-report/README.md
         mkdir gwion-coverage-report/html || true
-        cp -r gwion-coverage-report/html gwion-coverage-report/html/test
+        mkdir gwion-coverage-report/html-test
+        cp gwion-coverage-report/html/*.html gwion-coverage-report/html/test
         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