From 75451730a84d897c8de8abff2431eea2546a47ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 19:17:04 +0100 Subject: [PATCH] :wrench: use only .c --- .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 09da5a8a..62029946 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 src ast util | grep lines | cut -d" " -f2) + COV_TXT=$(gcovr -s --html-details cov.html --filter '.*\.c$' src ast util | grep lines | cut -d" " -f2) COV_NUM=${COV_TXT: : -1} if [ $COV_NUM -ge 90 ] then COLOR=green -- 2.43.0