combo-plugin-gnm/tox.ini

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

35 lines
961 B
INI
Raw Normal View History

2020-11-30 20:08:24 +01:00
[tox]
envlist = py3-black-junit-coverage
2020-11-30 20:08:24 +01:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/combo-plugin-gnm/{env:BRANCH_NAME:}
[testenv]
usedevelop =
coverage: True
nocoverage: False
setenv =
DJANGO_SETTINGS_MODULE=combo.settings
COMBO_SETTINGS_FILE=tests/settings.py
2020-11-30 20:08:24 +01:00
DB_ENGINE=django.db.backends.postgresql_psycopg2
SETUPTOOLS_USE_DISTUTILS=stdlib
coverage: COVERAGE=--cov-report xml --cov-report html --cov=combo_plugin_gnm/
junit: JUNIT=--junitxml=junit-{envname}.xml
deps =
pytest
pytest-cov
pytest-django
pytest-freezegun
WebTest
mock<4
httmock
psycopg2-binary
psycopg2
vobject
django-ratelimit<3
django>=2.2,<2.3
2020-12-26 15:21:15 +01:00
https://git.entrouvert.org/debian/django-ckeditor.git/snapshot/django-ckeditor-main.tar.gz
https://git.entrouvert.org/combo.git/snapshot/combo-main.tar.gz
pre-commit
2020-11-30 20:08:24 +01:00
commands =
py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
black: pre-commit run black --all-files --show-diff-on-failure