Changeset View
Changeset View
Standalone View
Standalone View
tox.ini
[tox] | [tox] | ||||
envlist=black,flake8,mypy,py3 | envlist=black,flake8,mypy,py3 | ||||
[testenv] | [testenv] | ||||
extras = | extras = | ||||
testing | testing | ||||
deps = | deps = | ||||
pytest-cov | pytest-cov | ||||
dev: ipdb | dev: ipdb | ||||
passenv = | passenv = | ||||
LOG_CASSANDRA | SWH_CASSANDRA_BIN | ||||
SWH_CASSANDRA_LOG | |||||
commands = | commands = | ||||
pytest \ | pytest \ | ||||
!slow: --hypothesis-profile=fast \ | !slow: --hypothesis-profile=fast \ | ||||
slow: --hypothesis-profile=slow \ | slow: --hypothesis-profile=slow \ | ||||
--cov={envsitepackagesdir}/swh/storage \ | --cov={envsitepackagesdir}/swh/storage \ | ||||
{envsitepackagesdir}/swh/storage \ | {envsitepackagesdir}/swh/storage \ | ||||
--doctest-modules \ | --doctest-modules \ | ||||
--cov-branch {posargs} | --cov-branch {posargs} | ||||
Show All 22 Lines |