From 2f85da186e57aded2fdf2b05d68d4113f8a3a9c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 18:45:17 +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 4c66583e..6eed9135 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -40,7 +40,7 @@ jobs: - name: Generate Report run: | - COV_TXT=$(gcovr -e *.h -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