swh-lister/tox.ini
Antoine R. Dumont (@ardumont) 2a33f43006
tox.ini: Install a py3-dev environment to ease development
Failing tests is less noisy in development mode.
2019-10-12 03:09:11 +02:00

26 lines
457 B
INI

[tox]
envlist=flake8,py3
[testenv:py3]
deps =
swh.core[http] >= 0.0.61
.[testing]
pytest-cov
commands =
pytest --cov={envsitepackagesdir}/swh/lister/ --cov-branch \
{envsitepackagesdir}/swh/lister/ {posargs}
[testenv:py3-dev]
deps =
swh.core[http] >= 0.0.61
.[testing]
pytest-cov
commands =
pytest {envsitepackagesdir}/swh/lister/ {posargs}
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8