swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: bf393fd73bfb1f33fd53057818d2417a7d1df4d9 authored by Valentin Lorentz on 02 September 2019, 09:28:07 UTC
Add support for origin_url in origin_metadata_*.
Tip revision: bf393fd
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
back to top