publik-django-templatetags/tox.ini

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

26 lines
648 B
INI
Raw Normal View History

2022-04-29 17:28:51 +02:00
[tox]
envlist = py3-django32-codestyle-coverage
2022-04-29 17:28:51 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/publik-django-templatetags/{env:BRANCH_NAME:}
[testenv]
usedevelop =
coverage: True
nocoverage: False
setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
JUNIT=--junitxml=junit-{envname}.xml
coverage: COVERAGE=--cov-report xml --cov-report html --cov=publik_django_templatetags/
deps =
django32: django>=3.2,<3.3
pytest
pytest-cov
pytest-django
2022-10-17 17:02:06 +02:00
pytest-freezegun
2022-04-29 17:28:51 +02:00
WebTest
psycopg2-binary
psycopg2
2022-04-29 17:28:51 +02:00
pre-commit
commands =
pytest {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
codestyle: pre-commit run --all-files --show-diff-on-failure