From: Jérémie Astor Date: Sun, 16 Feb 2020 17:48:27 +0000 (+0100) Subject: :wrench: exclude .h X-Git-Tag: nightly~1921 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=384b864ff1a2ebbfc4fde2b29ed50b98b2d52d40;p=gwion.git :wrench: exclude .h --- diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6eed9135..c7da96e2 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 --gcov-exclude '(.+/)?\.h$' -s --html-details cov.html | grep lines | cut -d" " -f2) COV_NUM=${COV_TXT: : -1} if [ $COV_NUM -ge 90 ] then COLOR=green