From d0c414995493e88d11c51ba839b849376c6a4bbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 17:50:37 +0100 Subject: [PATCH] :wrench: Use two gcovr commands --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0