From d0685ccc7ca204b796b3d54100b9657e3657dc4e Mon Sep 17 00:00:00 2001 From: Yogya Tulip Gamage <47789154+yogyagamage@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:51:58 -0400 Subject: [PATCH] Add a small gap between the threshold and the coverage --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1817a817c..ffac5fdc9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: run: | coverage=$COVERAGE threshold=24.46 - if (( $(echo "$coverage <= $threshold" | bc -l) )); then + if (( $(echo "$coverage - $threshold <= 0.1" | bc -l) )); then echo "Coverage is not improved." exit 1 else