From 855b93aede11c1c67ee8393ed32f2a35853e7913 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 18:41:49 +0100 Subject: [PATCH] :wrench: exclude .h --- .github/workflows/coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 49cd73bb..4c66583e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -40,7 +40,7 @@ jobs: - name: Generate Report run: | - COV_TXT=$(gcovr -s --html-details cov.html | grep lines | cut -d" " -f2) + COV_TXT=$(gcovr -e *.h -s --html-details cov.html | grep lines | cut -d" " -f2) COV_NUM=${COV_TXT: : -1} if [ $COV_NUM -ge 90 ] then COLOR=green -- 2.43.0