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

index 9a5bd638843ce7a7edaa68f802b6a7897e667162..20fcd1068b349c29f868b19d2359d1d65a473f0a 100644 (file)
@@ -35,8 +35,17 @@ jobs:
         sudo apt-get update
         sudo apt-get install gcovr
 
-    - name: Report
+    - name: Generate Report
       run: |
         COV_TXT=$(gcovr --html-details cov.html -s | grep lines | cut -d" " -f2)
         COV_NUM=${COV_TXT: : -1}
         echo $COV_NUM
+
+    - name: Push Report
+      run: |
+        git clone https://github.com/fennecdjay/gwion-coverage-report
+        cd gwion-coverage-report
+        rm *.html
+        cp ../*.html .
+        mv cov.html index.html
+        ls