-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (30 loc) · 741 Bytes
/
tox.ini
File metadata and controls
34 lines (30 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[tox]
envlist = py312-django{42,52},py312-quality
skipsdist = True
[pycodestyle]
max-line-length = 120
[pytest]
DJANGO_SETTINGS_MODULE = xqueue.test_settings
addopts = --nomigrations --reuse-db --durations=20
filterwarnings = default
norecursedirs = .* jenkins load_tests log reports script test_framework xqueue
[testenv]
deps =
django42: Django>=4.2,<5.0
django52: Django>=5.2,<6.0
-r{toxinidir}/requirements/test.txt
passenv =
DB_HOST
allowlist_externals =
make
commands =
make test
[testenv:py{311,312}-quality]
deps =
-r{toxinidir}/requirements/quality.txt
allowlist_externals =
make
{toxinidir}/script/max_pep8_violations
commands =
{toxinidir}/script/max_pep8_violations
make selfcheck