Skip to content

Commit

Permalink
Coverage with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
xfenix committed Oct 9, 2023
1 parent 8a72baa commit 9529986
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
pip install poetry
poetry install
poetry run pytest -n3 --cov-report=xml
- uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

# build stage with auto-versioning based on git tags like vX.Y.Z (example: v3.1.2)
build-and-publish:
Expand Down

0 comments on commit 9529986

Please sign in to comment.