From 125e17d64edccb3be6e82884d853d041432373f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 20:07:53 +0100 Subject: [PATCH] :wrench: try to push --- .github/workflows/coverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9405e656..d08e6c08 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -42,10 +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 ] + COV_INT=${COV_NUM: : -2} + if [ $COV_INT -ge 90 ] then COLOR=green - elif [ $COV_NUM -ge 75 ] + elif [ $COV_INT -ge 75 ] then COLOR=yellow else COLOR=red fi -- 2.43.0