https://forge.softwareheritage.org/source/swh-scheduler.git
Raw File
Tip revision: db25694f1e12f6d57e7820a79b14e9cd1f728427 authored by David Douard on 06 February 2019, 13:18:18 UTC
Fix a bug in the listener: commit() is not defined in the backend
Tip revision: db25694
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