Skip to content

Commit be6332e

Browse files
authored
Use coverage instead of pytest-cov in tox (#210)
1 parent 31e9ed7 commit be6332e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ commands =
99
[testenv:coverage]
1010
deps =
1111
coveralls
12-
pytest
13-
pytest-cov
12+
coverage
1413
setenv =
1514
COVERALLS_REPO_TOKEN = {env:COVERALLS_REPO_TOKEN}
15+
usedevelop = true
1616
commands =
17-
pytest --disable-warnings --cov={envsitepackagesdir}/basilisp --cov-report html
17+
coverage run --source=src/basilisp -m pytest --disable-warnings
18+
coverage report
1819
coveralls
1920

2021
[testenv:mypy]
2122
deps = mypy
2223
skip_install = true
23-
commands =
24+
commands =
2425
mypy --ignore-missing-imports --follow-imports=skip src/basilisp
2526

2627
[testenv:lint]

0 commit comments

Comments
 (0)