Skip to content

Commit

Permalink
Apply pytest coverage to combination of doctests and unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hynes committed Mar 20, 2019
1 parent 0a1cba1 commit 6238632
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ application-import-names = skspatial, tests
deps =
numpy
dpcontracts
pytest
pytest-cov
hypothesis
commands =
pytest tests/unit/
pytest tests/unit/ --cov=skspatial
pytest --doctest-modules skspatial/ --cov=skspatial --cov-append
python -m doctest README.rst

[testenv:lint_code]
Expand Down

0 comments on commit 6238632

Please sign in to comment.