From c1ef7471bcaffa49fb349dfb72082dbb7372b404 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 21:15:33 +0100 Subject: [PATCH] :wrench: Update --- .github/workflows/coverage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 5146a05c..e7d7f49c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -45,7 +45,9 @@ jobs: - name: Generate Report run: | - gcovr -s --filter '.*\.c$' src > gwion-coverage-report/README.md + printf '# Gwion coverage\n```\n' > gwion-coverage-report/README.md + gcovr -s --filter '.*\.c$' src >> gwion-coverage-report/README.md + printf '```\n' > gwion-coverage-report/README.md COV_TXT=$(gcovr -s --html-details gwion-coverage-report/index.html --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