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

index 6eed9135eb4babf686ef90f6a31f6592f083a779..c7da96e2db0af45681dad6a905da42394fa5a609 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 --gcov-exclude '(.+/)?\.h$' -s --html-details cov.html | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
         if [ $COV_NUM -ge 90 ]
         then COLOR=green