chrono/tox.ini

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

75 lines
1.6 KiB
INI
Raw Permalink Normal View History

[tox]
envlist =
2023-02-27 12:53:36 +01:00
py3-django32-codestyle-coverage,
pylint
2019-03-31 15:08:41 +02:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:}
[testenv]
usedevelop =
coverage: True
nocoverage: False
setenv =
DJANGO_SETTINGS_MODULE=chrono.settings
CHRONO_SETTINGS_FILE=tests/settings.py
BRANCH_NAME={env:BRANCH_NAME:}
SETUPTOOLS_USE_DISTUTILS=stdlib
NUMPROCESSES={env:NUMPROCESSES:1}
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/ --cov-config .coveragerc
deps =
pytest-cov
pytest-django
pytest-xdist
2024-02-15 10:38:18 +01:00
pytest
WebTest
mock<4
httmock
pylint
2020-03-29 20:12:27 +02:00
pylint-django
django-webtest
pytz
pyquery
django-mellon>=1.6.1
pytest-freezegun
django-filter>=2.4,<23.2
2023-04-24 18:18:29 +02:00
weasyprint<52
django32: django>=3.2,<3.3
django32: psycopg2-binary>=2.9
djangorestframework>=3.12,<3.13 # matching debian bullseye
2021-04-08 11:24:47 +02:00
codestyle: pre-commit
git+https://git.entrouvert.org/publik-django-templatetags.git
responses
allowlist_externals =
./pylint.sh
./getlasso3.sh
commands =
./getlasso3.sh
python3 setup.py compile_translations
py.test {posargs:-v --dist loadfile {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} tests/}
2021-04-08 11:24:47 +02:00
codestyle: pre-commit run --all-files --show-diff-on-failure
[testenv:pylint]
setenv =
NUMPROCESSES={env:NUMPROCESSES:6}
deps =
pytest-django
pytest!=5.3.3
WebTest
mock<4
httmock
pylint
pylint-django
django-webtest
pytz
pyquery
django-mellon>=1.6.1
pytest-freezegun
psycopg2-binary<2.9
git+https://git.entrouvert.org/publik-django-templatetags.git
responses
2024-03-07 16:42:55 +01:00
lxml
commands =
./getlasso3.sh
pylint: ./pylint.sh chrono/ tests/