Skip to content
Snippets Groups Projects
Commit 3c1930d3 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Merge tox environment configuration

parent cbf523da
No related branches found
No related tags found
1 merge request!43Migrate tox.ini to extras = xxx instead of deps = .[testing]
[tox]
envlist=flake8,mypy,py3
[testenv:py3]
[testenv]
deps =
# the dependency below is needed for now as a workaround for
# https://github.com/pypa/pip/issues/6239
swh.core[http] >= 0.0.75
.[testing]
dev: ipdb
pytest-cov
pifpaf
commands =
pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch \
{envsitepackagesdir}/swh/deposit \
{posargs}
[testenv:py3-dev]
deps =
swh.core[http] >= 0.0.75
.[testing]
ipdb
commands =
pytest {envsitepackagesdir}/swh/deposit/ {posargs}
pifpaf run postgresql -- \
pytest \
!dev: --cov {envsitepackagesdir}/swh/deposit --cov-branch \
{envsitepackagesdir}/swh/deposit \
{posargs}
[testenv:flake8]
skip_install = true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment