Skip to content

Commit

Permalink
feat: add codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
gjedlicska committed Jan 20, 2025
1 parent 513594c commit 970cf62
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ jobs:
run: docker compose up -d

- name: Run tests
run: poetry run pytest --cov --cov-report xml:reports/coverage.xml --junitxml=reports/test-results.xml
run: uv run pytest --cov --cov-report xml:reports/coverage.xml --junitxml=reports/test-results.xml

- uses: codecov/codecov-action@v5
if: matrix.python-version == 3.13
with:
fail_ci_if_error: true # optional (default = false)
files: ./reports/test-results.xml # optional
token: ${{ secrets.CODECOV_TOKEN }}

# do some more stuff here
- name: Minimize uv cache
run: uv cache prune --ci

0 comments on commit 970cf62

Please sign in to comment.