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

index 79af2787e0e516f8a450f5cf67fd138ac6f92244..0dbe8c6ba138d8fc73e1277c56f79f7b43af1ae5 100644 (file)
@@ -42,9 +42,10 @@ jobs:
       run: |
         COV_TXT=$(gcovr -s --html-details cov.html --filter '.*\.c$' src | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
+        echo $COV_NUM
         if [ $COV_NUM -ge 90 ]
         then COLOR=green
-        elif [ $COV_NUM -ge 90 ]
+        elif [ $COV_NUM -ge 75 ]
         then COLOR=yellow
         else COLOR=red
         fi