From 1be9d9e2897a30f3b6dc14e94134f519ef7fe620 Mon Sep 17 00:00:00 2001 From: BushraS-Protean Date: Tue, 18 Mar 2025 13:20:13 +0530 Subject: [PATCH] Update beckn_ci.yml changes made --- .github/workflows/beckn_ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/beckn_ci.yml b/.github/workflows/beckn_ci.yml index 348219a..c2fe961 100644 --- a/.github/workflows/beckn_ci.yml +++ b/.github/workflows/beckn_ci.yml @@ -69,9 +69,9 @@ jobs: coverage=$(go tool cover -func=$coverage_file | grep total | awk '{print $3}' | sed 's/%//') echo "Coverage for $coverage_file: $coverage%" - # If coverage is below threshold (90%), fail the job - if (( $(echo "$coverage < 90" | bc -l) )); then - echo "Coverage for $coverage_file is below 90%. Failing the job." + # If coverage is below threshold (80%), fail the job + if (( $(echo "$coverage < 80" | bc -l) )); then + echo "Coverage for $coverage_file is below 80%. Failing the job." exit 1 fi done