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

index 9ff4179e961af9a4e3a5acd74b8c8b45a7fae05f..48d49358a4f3662e679394dd6a3c2ee6f6554016 100644 (file)
@@ -57,14 +57,13 @@ jobs:
         echo $COV_NUM > gwion-coverage-report/coverage_num.txt
         sed -i 's/<html>/<script type="text\/javascript" src="focus.js"><\/script><html>/' index.src_*.html
         branch=$(basename ${{ github.event.ref }})
-        mkdir -p gwion-coverage-report/html/$branch
+        cd gwion-coverage-report/
+        bash old.sh $branch
+        bash summary.sh
+        cd ..
         gcovr --filter '.*\.c$' src > gwion-coverage-report/html/$branch/lines.txt
         gcovr --filter '.*\.c$' --branches src > gwion-coverage-report/html/$branch/branches.txt
         mv *.html gwion-coverage-report/html/$branch
-        cd gwion-coverage-report/html/
-        for a in */
-        do echo "  * [$(basename $a)](https://fennecdjay.github.com/gwion-coverage-report/$(basename $a))"
-        done > README.md
 
     - name: Make badge
       if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'