Skip to content

Commit 962b8b9

Browse files
committed
Use pytest-cov instead of coverage
1 parent c007dc6 commit 962b8b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
],
3838
packages=find_packages(),
3939
install_requires=['lxml', 'requests', 'tqdm'],
40-
tests_require=['pytest', 'tox'],
40+
tests_require=['pytest', 'pytest-cov', 'tox'],
4141
keywords=['biology', 'pathway']
4242
)

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ envlist =
1010
py
1111

1212
[testenv]
13-
commands = coverage run -p -m pytest --durations=20 {posargs:pybiopax/tests}
13+
commands = pytest --durations=20 --cov=pybiopax {posargs:pybiopax/tests}
1414
deps =
15-
coverage
15+
pytest-cov
1616
pytest
1717

1818
[testenv:pyroma]

0 commit comments

Comments
 (0)