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

index 4c66583e9ba4808b400265c4c0b69e15539794a8..6eed9135eb4babf686ef90f6a31f6592f083a779 100644 (file)
@@ -40,7 +40,7 @@ jobs:
 
     - name: Generate Report
       run: |
-        COV_TXT=$(gcovr -e *.h -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