Revision 5880c52a46a52903e40177b959f1a3083207febf authored by David Douard on 31 January 2019, 09:22:41 UTC, committed by David Douard on 31 January 2019, 09:29:43 UTC
so that one can type (typically in a venv, with services running in dockers):

  (venv) swh-environment$ export SWH_SCHEDULER_URL=http://127.0.0.1:5008
  (venv) swh-environment$ swh-scheduler task-type list
1 parent 9bc5640
Raw File
tox.ini
[tox]
envlist=flake8,py3

[testenv:py3]
deps =
  .[testing]
  pytest-cov
  pifpaf
setenv =
  LC_ALL=C.UTF-8
  LC_CTYPE=C.UTF-8
  LANG=C.UTF-8
commands =
  pifpaf run postgresql -- pytest --cov=swh --cov-branch {posargs}

[testenv:flake8]
skip_install = true
deps =
  flake8
commands =
  {envpython} -m flake8
back to top