combo-plugin-imio-townstreet/tox.ini

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

32 lines
972 B
INI
Raw Permalink Normal View History

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