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

index 49cd73bb410483bc1cfb0a32e2bbed305a7bb933..4c66583e9ba4808b400265c4c0b69e15539794a8 100644 (file)
@@ -40,7 +40,7 @@ jobs:
 
     - name: Generate Report
       run: |
-        COV_TXT=$(gcovr -s --html-details cov.html | grep lines | cut -d" " -f2)
+        COV_TXT=$(gcovr -e *.h -s --html-details cov.html | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
         if [ $COV_NUM -ge 90 ]
         then COLOR=green