From 88fe51ee8c7df5c50d10bb264893b0094e72fca1 Mon Sep 17 00:00:00 2001 From: fmelihh Date: Sun, 12 May 2024 16:45:48 +0300 Subject: [PATCH] fix: ci fix --- .github/workflows/python_ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python_ci.yaml b/.github/workflows/python_ci.yaml index 8a5f4fd..5f94102 100644 --- a/.github/workflows/python_ci.yaml +++ b/.github/workflows/python_ci.yaml @@ -53,7 +53,8 @@ jobs: - name: Check coverage threshold run: | - if (( "$(echo "$COVERAGE_REPORT < 110" | bc)" )); then + COVERAGE_RESULT=$(echo "$COVERAGE_REPORT < 110" | bc) + if [ "$COVERAGE_RESULT" -eq 1 ]; then echo "Coverage less than 60%. Exiting..." exit 1 fi