From: Jérémie Astor Date: Sun, 16 Feb 2020 19:07:53 +0000 (+0100) Subject: :wrench: try to push X-Git-Tag: nightly~1911 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=125e17d64edccb3be6e82884d853d041432373f5;p=gwion.git :wrench: try to push --- 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