Skip to content

Commit

Permalink
Update coverage to version 6 (#135)
Browse files Browse the repository at this point in the history
Also fix generated `coverage.xml` using an additional `.coveragerc` and
enhancing `tox.ini`.
  • Loading branch information
gro1m committed Mar 20, 2022
1 parent 8e2e953 commit 0874a31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
include =
pycobertura/*
4 changes: 2 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
coverage>=4.0,<4.4
coverage>=6.0,<6.4
mock
pytest-cov<2.6.0
pytest-cov==3.*
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ max-line-length = 88
commands =
pip install -e .
pip install -r test-requirements.txt
py.test {posargs}
pytest {posargs} --cov-config=.coveragerc

passenv =
LANG
Expand Down

0 comments on commit 0874a31

Please sign in to comment.