Skip to content

Commit

Permalink
Remove check for 100% coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
corentin-regent committed Mar 22, 2024
1 parent 08a8c7a commit b2308c8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
runs-on: ubuntu-latest
env:
from_fork: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name }}
target_cov: 100

steps:
- name: Check out repository
Expand Down Expand Up @@ -80,9 +79,3 @@ jobs:
uses: sonarsource/sonarcloud-github-action@v2
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Check code coverage
run: |
cov_percent=$(poetry run coverage report | awk '$1 == "TOTAL" {print $NF+0}')
echo "Coverage: ${cov_percent}%"
[[ cov_percent -ge target_cov ]] || exit 1

0 comments on commit b2308c8

Please sign in to comment.