From: Jérémie Astor Date: Sun, 16 Feb 2020 16:50:37 +0000 (+0100) Subject: :wrench: Use two gcovr commands X-Git-Tag: nightly~1932 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d0c414995493e88d11c51ba839b849376c6a4bbc;p=gwion.git :wrench: Use two gcovr commands --- diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7036b453..0a475500 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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