This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
passerelle-grandlyon-cartad.../tox.ini

21 lines
563 B
INI

[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-grandlyon-cartads-cs/{env:BRANCH_NAME:}
envlist = py3-django22-black
[testenv]
usedevelop = True
setenv =
DJANGO_SETTINGS_MODULE=passerelle.settings
PASSERELLE_SETTINGS_FILE=tests/settings.py
deps =
django22: django>=2.2,<2.3
git+https://git.entrouvert.org/passerelle.git
django-webtest
psycopg2-binary<2.9
pytest
pytest-django
black: pre-commit
commands =
py.test {posargs: --junitxml=junit-{envname}.xml tests/}
black: pre-commit run black --all-files --show-diff-on-failure