Skip to content

Commit

Permalink
fix coverage reporting and failure criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaljovec committed Nov 16, 2022
1 parent 1e26f2c commit 83d619e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[run]
branch = True
source =
samply/
/Users/runner/work/samply/samply/samply/
/home/runner/work/samply/samply/samply/
D:\a\samply\samply\samply\
omit =
samply/tests/*
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- run: pip install coverage
- run: |
coverage combine coverage*/
coverage report --fail-under=0
coverage report --fail-under=95
coverage lcov
- name: publish coverage to Coveralls
uses: coverallsapp/github-action@master
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ deps = coverage
skip_install = true
commands =
coverage combine
coverage report --fail-under=0
coverage report --fail-under=95

[testenv:style]
deps =
Expand Down

0 comments on commit 83d619e

Please sign in to comment.