Skip to content

Commit

Permalink
Set up code coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Anja Strunk <[email protected]>
  • Loading branch information
anjastrunk committed Apr 23, 2024
1 parent 0941558 commit 1f31602
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[run]
source = creator

[xml]
output = coverage.xml
2 changes: 1 addition & 1 deletion .github/workflows/build-python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Test with pytest
run: |
python -m pytest --cov --cov-report=xml tests
python -m pytest --cov --cov-config=.coveragerc
coverage report -m
shell: bash

Expand Down

0 comments on commit 1f31602

Please sign in to comment.