Skip to content

Commit

Permalink
Fixed codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
KFilippopolitis committed Jun 20, 2024
1 parent 8a75232 commit 6d7d988
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@ jobs:
run: poetry install --no-interaction

- name: Run tests
run: |
poetry run coverage run -m pytest
poetry run coverage xml
run: poetry run pytest --cov=mipdb --cov-report=xml

- name: Upload Coverage to Codecov
uses: codecov/[email protected]
with:
fail_ci_if_error: true
verbose: true
- name: Upload coverage to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN

0 comments on commit 6d7d988

Please sign in to comment.