Skip to content

Commit

Permalink
Add pytest coverage by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Kulynych committed Nov 11, 2019
1 parent 5bccce3 commit bc446e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pytest.ini
@@ -1,3 +1,2 @@
[pytest]
addopts = --doctest-modules --ignore examples

addopts = --doctest-modules --ignore examples --cov-report term --cov zksk
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,7 +9,7 @@
SETUP_REQUIRES = ["pytest-runner"]
TEST_REQUIRES = ["pytest"]
DOC_REQUIRES = ["sphinx", "sphinx_rtd_theme", "m2r"]
DEV_REQUIRES = TEST_REQUIRES + DOC_REQUIRES + ["black", "pre-commit"]
DEV_REQUIRES = TEST_REQUIRES + DOC_REQUIRES + ["black", "pre-commit", "pytest-cov"]


here = os.path.abspath(os.path.dirname(__file__))
Expand Down

0 comments on commit bc446e8

Please sign in to comment.