Skip to content

Commit

Permalink
fix: ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fmelihh committed May 12, 2024
1 parent 88fe51e commit 8f76f30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/python_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ jobs:
run: |
export COVERAGE_REPORT=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered'])")
echo "##TOTAL COVERAGE: ${COVERAGE_REPORT}"
- name: Check coverage threshold
run: |
COVERAGE_RESULT=$(echo "$COVERAGE_REPORT < 110" | bc)
if [ "$COVERAGE_RESULT" -eq 1 ]; then
echo "Coverage less than 60%. Exiting..."
exit 1
fi

0 comments on commit 8f76f30

Please sign in to comment.