combo-plugin-nanterre/tox.ini

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
989 B
INI
Raw Normal View History

2021-03-14 18:52:45 +01:00
[tox]
envlist = py3-black-pytest-coverage
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo-plugin-nanterre/{env:BRANCH_NAME:}
[testenv]
usedevelop =
coverage: True
nocoverage: False
setenv =
DJANGO_SETTINGS_MODULE=combo.settings
COMBO_SETTINGS_FILE=tests/settings.py
DB_ENGINE=django.db.backends.postgresql_psycopg2
SETUPTOOLS_USE_DISTUTILS=stdlib
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo_plugin_nanterre/
pytest: PYTEST=--junitxml=junit-{envname}.xml
deps =
pytest
pytest-cov
pytest-django
WebTest
django-webtest
2023-03-30 09:52:14 +02:00
psycopg2-binary
2021-03-14 18:52:45 +01:00
django-ratelimit<3
2023-03-30 09:52:14 +02:00
django>=3.2,<3.3
git+https://git.entrouvert.org/entrouvert/debian-django-ckeditor.git
git+https://git.entrouvert.org/entrouvert/publik-django-templatetags.git
git+https://git.entrouvert.org/entrouvert/combo.git
2021-03-14 18:52:45 +01:00
black: pre-commit
commands =
pytest: py.test {posargs: {env:PYTEST:} {env:COVERAGE:} tests/}
black: pre-commit run black --all-files --show-diff-on-failure