Revision cbc47c48730609f06a39cb8db830212868948fe8 authored by Valentin Lorentz on 24 September 2019, 13:13:04 UTC, committed by Valentin Lorentz on 30 September 2019, 10:05:02 UTC
* spares some bandwidth/processing time * aligns {content,directory,release,revision}_add on what {snapshot,origin}_add already does
1 parent e239324
tox.ini
[tox]
envlist=flake8,py3-no-origin-ids,py3
[testenv:py3]
deps =
.[testing]
.[listener]
pytest-cov
pifpaf
commands =
pifpaf run postgresql -- pytest --hypothesis-profile=fast --cov=swh --cov-branch {posargs}
[testenv:py3-slow]
deps =
.[testing]
.[listener]
pytest-cov
pifpaf
commands =
pifpaf run postgresql -- pytest --hypothesis-profile=slow --cov=swh --cov-branch {posargs}
[testenv:py3-no-origin-ids]
deps =
.[testing]
pytest-cov
setenv =
SWH_STORAGE_IN_MEMORY_ENABLE_ORIGIN_IDS=false
commands =
pytest --hypothesis-profile=fast {posargs} swh/storage/tests/test_in_memory.py
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8
Computing file changes ...