Merge tox environments
This commit is contained in:
parent
f9859f3025
commit
0459a0bb28
1 changed files with 4 additions and 11 deletions
15
tox.ini
15
tox.ini
|
@ -1,24 +1,17 @@
|
|||
[tox]
|
||||
envlist=flake8,mypy,py3
|
||||
|
||||
[testenv:py3]
|
||||
[testenv]
|
||||
deps =
|
||||
swh.core[http] >= 0.0.61
|
||||
.[testing]
|
||||
pytest-cov
|
||||
dev: ipdb
|
||||
commands =
|
||||
pytest --cov={envsitepackagesdir}/swh/lister/ --cov-branch \
|
||||
pytest \
|
||||
!dev: --cov={envsitepackagesdir}/swh/lister/ --cov-branch \
|
||||
{envsitepackagesdir}/swh/lister/ {posargs}
|
||||
|
||||
[testenv:py3-dev]
|
||||
deps =
|
||||
swh.core[http] >= 0.0.61
|
||||
.[testing]
|
||||
pytest-cov
|
||||
ipdb
|
||||
commands =
|
||||
pytest {envsitepackagesdir}/swh/lister/ {posargs}
|
||||
|
||||
[testenv:flake8]
|
||||
skip_install = true
|
||||
deps =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue