https://github.com/SoftwareHeritage/swh-storage
Raw File
Tip revision: 5a9f544bf08dc169511ae3b467a935566dff643c authored by Valentin Lorentz on 06 June 2019, 15:05:03 UTC
Add support for using URL instead of ID in snapshot_get_latest.
Tip revision: 5a9f544
tox.ini
[tox]
envlist=flake8,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:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8
back to top