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 | ||||
pifpaf | pifpaf | ||||
swh-scheduler[testing] >= 0.5.0 | |||||
swh-storage[testing] >= 0.10.0 | |||||
dev: pdbpp | dev: pdbpp | ||||
commands = | commands = | ||||
pifpaf run postgresql -- pytest --doctest-modules \ | pifpaf run postgresql -- pytest --doctest-modules \ | ||||
!slow: --hypothesis-profile=fast \ | !slow: --hypothesis-profile=fast \ | ||||
slow: --hypothesis-profile=slow \ | slow: --hypothesis-profile=slow \ | ||||
{envsitepackagesdir}/swh/indexer \ | {envsitepackagesdir}/swh/indexer \ | ||||
--cov={envsitepackagesdir}/swh/indexer \ | --cov={envsitepackagesdir}/swh/indexer \ | ||||
--cov-branch {posargs} | --cov-branch {posargs} | ||||
Show All 22 Lines |