Skip to content

Commit

Permalink
Add code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Farris committed May 15, 2024
1 parent 36770a4 commit 7ccbd66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage.xml
verbose: true
- name: Generate Documentation
run: |
task docs
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ tasks:
desc: Runs all the tests
cmds:
- ${VENV_FOLDER}/${EXEC_FOLDER}/poetry run coverage run -m pytest tests
- ${VENV_FOLDER}/${EXEC_FOLDER}/poetry run coverage xml

docs:
desc: Generates the documentation
Expand Down

0 comments on commit 7ccbd66

Please sign in to comment.