Skip to content

Commit

Permalink
coverage fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Nov 2, 2020
1 parent 20ecd1a commit 739a806
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ where = src
[options.extras_require]
test =
pytest>=6
pytest-cov
pytest-cov<2.6
recommonmark
hypothesis
demo =
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ skip_missing_interpreters = true
description = run the tests with pytest under {basepython}
setenv =
PIP_DISABLE_VERSION_CHECK = 1
COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}/.coverage.{envname}}
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
VIRTUALENV_NO_DOWNLOAD = 1
PIP_EXTRA_INDEX_URL = https://antocuni.github.io/pypy-wheels/manylinux2010
passenv =
Expand Down Expand Up @@ -102,9 +102,9 @@ passenv = {[testenv]passenv}
DIFF_AGAINST
setenv = COVERAGE_FILE={toxworkdir}/.coverage
commands = coverage combine
coverage report -m
coverage xml -o {toxworkdir}/coverage.xml
coverage html -d {toxworkdir}/htmlcov
coverage report -i -m
coverage xml -i -o {toxworkdir}/coverage.xml
coverage html -i -d {toxworkdir}/htmlcov
diff-cover --compare-branch {env:DIFF_AGAINST:origin/latest} {toxworkdir}/coverage.xml
depends = py39, py38, py37, pypy3
parallel_show_output = True
Expand Down

0 comments on commit 739a806

Please sign in to comment.