From 84f0ebce8d8e320763c9311ef90710d1ac23ff39 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 19:36:30 +0100 Subject: [PATCH] :wrench: use only .c --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 79af2787..0dbe8c6b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -42,9 +42,10 @@ jobs: run: | COV_TXT=$(gcovr -s --html-details cov.html --filter '.*\.c$' src | grep lines | cut -d" " -f2) COV_NUM=${COV_TXT: : -1} + echo $COV_NUM if [ $COV_NUM -ge 90 ] then COLOR=green - elif [ $COV_NUM -ge 90 ] + elif [ $COV_NUM -ge 75 ] then COLOR=yellow else COLOR=red fi -- 2.43.0