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

index 7036b453427518d9261a0dd2ac77dbcccbe54e2b..0a475500c45f32cb76e5206193ebabcd6f85b600 100644 (file)
@@ -38,7 +38,8 @@ jobs:
     - name: Generate Report
       run: |
         gcovr -h
-        COV_TXT=$(gcovr -s --html-details cov.html | grep lines | cut -d" " -f2)
+        gcovr --html-details -o cov.html
+        COV_TXT=$(gcovr -s | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
         echo $COV_NUM
         ls