Update beckn_ci.yml
This commit is contained in:
6
.github/workflows/beckn_ci.yml
vendored
6
.github/workflows/beckn_ci.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user