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

index 09da5a8a81875c84ed480f087746c51328ee6e2f..62029946b2fe6361c13502f93d1cfe27aca85316 100644 (file)
@@ -40,7 +40,7 @@ jobs:
 
     - name: Generate Report
       run: |
-        COV_TXT=$(gcovr -s --html-details cov.html src ast util | grep lines | cut -d" " -f2)
+        COV_TXT=$(gcovr -s --html-details cov.html --filter '.*\.c$' src ast util | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
         if [ $COV_NUM -ge 90 ]
         then COLOR=green