Skip to content

Commit

Permalink
ci: enable codecov test analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
nikaro committed Sep 9, 2024
1 parent 5aa6b37 commit 29c2885
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@main
with:
token: ${{ secrets.CODECOV_TOKEN }}

check:
name: Check
permissions: {}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ wheels/
.python-version
.sl/
.task/
junit.xml
site/
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ tasks:
- ./requirements-dev.lock
- ./src/**/*.py
- ./tests/**/*.py
cmd: uv run pytest --cov-report=term-missing --cov-report=html --cov=sopsy ./tests/
cmd: uv run pytest --cov-report=term-missing --cov-report=html --junitxml=junit.xml --override-ini='junit_family=legacy' --cov=sopsy ./tests/

bump:
desc: Bump version
Expand Down

0 comments on commit 29c2885

Please sign in to comment.