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

index 5146a05cb50f5a813ee1ea6a3d8b541b3bd0bd49..e7d7f49cc96d7d2c9d3170a79e29a03cc666d0fd 100644 (file)
@@ -45,7 +45,9 @@ jobs:
 
     - name: Generate Report
       run: |
-        gcovr -s --filter '.*\.c$' src > gwion-coverage-report/README.md
+        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)
         COV_NUM=${COV_TXT: : -1}
         echo $COV_NUM > gwion-coverage-report/coverage_num.txt