Skip to content

Commit fe26f81

Browse files
committed
Add tox posargs
1 parent 7cc7d33 commit fe26f81

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ setenv =
2828
PYTHONPATH = flit_core
2929

3030
commands =
31-
python -m pytest --cov=flit --cov=flit_core/flit_core
31+
python -m pytest --cov=flit --cov=flit_core/flit_core {posargs}
3232

3333
# Python 3.6: only test flit_core
3434
[testenv:py36]
3535
commands =
36-
python -m pytest --cov=flit_core/flit_core flit_core
36+
python -m pytest --cov=flit_core/flit_core flit_core {posargs}
3737

3838
# Python 3.7: only test flit_core
3939
[testenv:py37]
4040
commands =
41-
python -m pytest --cov=flit_core/flit_core flit_core
41+
python -m pytest --cov=flit_core/flit_core flit_core {posargs}
4242

4343
[testenv:bootstrap]
4444
skip_install = true

0 commit comments

Comments
 (0)