https://forge.softwareheritage.org/source/swh-deposit.git
Raw File
Tip revision: 45aeec443d7aed3bd97a138f2a6f1f324d46b0cc authored by Antoine R. Dumont (@ardumont) on 17 April 2019, 09:45:05 UTC
utils: Enforce necessary setup for deposit and associated client
Tip revision: 45aeec4
tox.ini
[tox]
envlist=flake8,py3

[testenv:py3]
deps =
  .[testing]
  .[server]
  pytest-cov
  pifpaf
  pytest-django
commands =
  pifpaf run postgresql -- pytest --cov {envsitepackagesdir}/swh/deposit --cov-branch {posargs} {envsitepackagesdir}/swh/deposit

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8 \
    --exclude=.tox,.git,__pycache__,.tox,.eggs,*.egg,swh/deposit/migrations
back to top