Update beckn_ci.yml

This commit is contained in:
BushraS-Protean
2025-03-06 16:24:27 +05:30
committed by GitHub
parent 7f707bfd52
commit f59b266646

View File

@@ -87,11 +87,11 @@ jobs:
echo "Total coverage: $coverage%" echo "Total coverage: $coverage%"
# Check if coverage is greater than or equal to 90% # Check if coverage is greater than or equal to 90%
if (( $(echo "$coverage < 80" | bc -l) )); then if (( $(echo "$coverage < 90" | bc -l) )); then
echo "Coverage is below 80%. Failing the job." echo "Coverage is below 90%. Failing the job."
exit 1 exit 1
else else
echo "Coverage is 80% or above. Continuing the job." echo "Coverage is 90% or above. Continuing the job."
fi fi