From 9610ae5d39a1a6e44baeb7c1b95a836d5c4c0d86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 20 Feb 2020 12:23:51 +0100 Subject: [PATCH] :wrench: test links --- .github/workflows/coverage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 726baecf..4bf9f9b6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -52,8 +52,6 @@ jobs: gcovr -s --filter '.*\.c$' src >> gwion-coverage-report/README.md printf '```\n' >> gwion-coverage-report/README.md mkdir gwion-coverage-report/html || true - 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 @@ -66,6 +64,8 @@ jobs: while true do wget https://badgen.net/badge/coverage/$COV_NUM/$COLOR -O gwion-coverage-report/badge.svg && break done + mkdir gwion-coverage-report/html-test + cp gwion-coverage-report/html/*.html gwion-coverage-report/html/test - name: Push Report if: github.event_name == 'push' -- 2.43.0