Skip to content

Commit

Permalink
Enable Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
FestplattenSchnitzel committed Nov 20, 2024
1 parent cf11d98 commit 2c899ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,16 @@ jobs:
run: >
pytest
--junitxml=junit/test-results.xml
--cov --cov-report=xml:cov/cov-results.xml
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: 'junit/test-*.xml'
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
disable_search: true
files: ./cov/cov-results.xml
verbose: true
1 change: 1 addition & 0 deletions build/requirements/requirements_testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ pycodestyle~=2.4.0
mypy~=0.960
sphinx~=1.8.4
pytest~=7.4.3
pytest-cov~=2.10.1
time_machine~=2.13.0

0 comments on commit 2c899ef

Please sign in to comment.