Skip to content

Commit 66e82df

Browse files
author
Cecylia Borek
committed
only search tests directory for tests with tox
1 parent 92de168 commit 66e82df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = clean,docs,py37,py39,313
2+
envlist = clean,py{37,39,313}
33
skipsdist = {env:TOXBUILD:false}
44

55
[testenv:pep8]
@@ -32,7 +32,7 @@ deps = pytest
3232

3333
distdir = build
3434
commands =
35-
{env:TOXBUILD:python -m pytest --junitxml=test-reports/junit-{envname}.xml --cov --cov-config=.coveragerc} {posargs}
35+
{env:TOXBUILD:python -m pytest --junitxml=test-reports/junit-{envname}.xml --cov --cov-config=.coveragerc} {posargs:tests}
3636

3737
[testenv:clean]
3838
deps = coverage

0 commit comments

Comments
 (0)