Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
feijooso committed Jun 25, 2024
1 parent fb16620 commit b12f558
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,3 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Check coverage
run: |
source venv/bin/activate
COVERAGE=$(bash <(curl -s https://codecov.io/bash) -f ./coverage.xml -n codecov-umbrella -Z -F unittests | grep 'TOTAL' | awk '{print $4}' | sed 's/%//')
echo "Coverage: $COVERAGE%"
if (( $(echo "$COVERAGE < 85" | bc -l) )); then
echo "Coverage is below 85%!"
exit 1
fi

0 comments on commit b12f558

Please sign in to comment.