Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
Show All 11 Lines | |||||
[testenv:py3-no-origin-ids] | [testenv:py3-no-origin-ids] | ||||
deps = | deps = | ||||
.[testing] | .[testing] | ||||
pytest-cov | pytest-cov | ||||
pytest-django | pytest-django | ||||
setenv = | setenv = | ||||
SWH_STORAGE_IN_MEMORY_ENABLE_ORIGIN_IDS=false | SWH_STORAGE_IN_MEMORY_ENABLE_ORIGIN_IDS=false | ||||
commands = | commands = | ||||
pytest --hypothesis-profile=swh-web-fast --cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web | pytest --hypothesis-profile=swh-web-fast --cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web -m "not origin_id" | ||||
[testenv:py3-slow] | [testenv:py3-slow] | ||||
deps = | deps = | ||||
.[testing] | .[testing] | ||||
pytest-cov | pytest-cov | ||||
pytest-django | pytest-django | ||||
commands = | commands = | ||||
pytest --hypothesis-profile=swh-web --cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web | pytest --hypothesis-profile=swh-web --cov {envsitepackagesdir}/swh/web --cov-branch {posargs} {envsitepackagesdir}/swh/web | ||||
[testenv:flake8] | [testenv:flake8] | ||||
skip_install = true | skip_install = true | ||||
deps = | deps = | ||||
flake8 | flake8 | ||||
commands = | commands = | ||||
{envpython} -m flake8 \ | {envpython} -m flake8 \ | ||||
--exclude=.tox,.git,__pycache__,.eggs,*.egg,node_modules | --exclude=.tox,.git,__pycache__,.eggs,*.egg,node_modules |