From da17d9715d5ff958a048b6d12dfe85c413e45b8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 20 Feb 2020 12:19:52 +0100 Subject: [PATCH] :wrench: test links --- .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 231a82f2..726baecf 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -52,7 +52,8 @@ jobs: gcovr -s --filter '.*\.c$' src >> gwion-coverage-report/README.md printf '```\n' >> gwion-coverage-report/README.md mkdir gwion-coverage-report/html || true - cp -r gwion-coverage-report/html gwion-coverage-report/html/test + mkdir gwion-coverage-report/html-test + cp gwion-coverage-report/html/*.html gwion-coverage-report/html/test COV_TXT=$(gcovr -s --html-details gwion-coverage-report/html/index.html --html-title "Gwion coverage report" --filter '.*\.c$' src | grep lines | cut -d" " -f2) COV_NUM=${COV_TXT: : -1} echo $COV_NUM > gwion-coverage-report/coverage_num.txt -- 2.43.0