From: Jérémie Astor Date: Sun, 16 Feb 2020 17:45:17 +0000 (+0100) Subject: :wrench: exclude .h X-Git-Tag: nightly~1922 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2f85da186e57aded2fdf2b05d68d4113f8a3a9c5;p=gwion.git :wrench: exclude .h --- 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