Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
otavio-code authored Dec 1, 2024
1 parent fd05148 commit 6e6036d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,14 @@ jobs:
echo "Total Lines: $TOTAL"
echo "Coverage Percentage: $PERCENTAGE%"

# Validação da cobertura mínima
MINIMUM=50.0
# Validação da cobertura mínima (80%)
MINIMUM=80.0
if (( $(echo "$PERCENTAGE < $MINIMUM" | bc -l) )); then
echo "Coverage is below the minimum required: $MINIMUM%!"
exit 1
fi
echo "Coverage validation passed with $PERCENTAGE%."


build:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 6e6036d

Please sign in to comment.