Skip to content

Commit

Permalink
Calculate code coverage when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtucker committed Jun 22, 2019
1 parent cd09aa0 commit be983e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ deps =
mypy0.670: mypy == 0.670
mypy0.700: mypy == 0.700
mypy0.701: mypy == 0.701

pytest-cov ~= 2.5.1
pytest-randomly ~= 2.1.1
commands = py.test {posargs:tests}
commands = py.test --cov pytest_mypy --cov-fail-under 100 {posargs}

[testenv:flake8]
skip_install = true
Expand Down

0 comments on commit be983e9

Please sign in to comment.