-
Notifications
You must be signed in to change notification settings - Fork 238
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (32 loc) · 779 Bytes
/
tox.ini
File metadata and controls
34 lines (32 loc) · 779 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 =
py{38,39,310}-dj{32,41,42}
py{310,311}-dj{32,41,42,50,51,52}
py{312,313}-dj{42,50,51,52,main}
[testenv]
usedevelop = true
extras = tests
commands =
python -Wd {envbindir}/coverage run tests/manage.py test -v2 --keepdb {posargs:testapp}
coverage report -m
deps =
dj32: Django>=3.2,<4.0
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
dj52: Django>=5.2,<5.3
djmain: https://github.com/django/django/archive/main.tar.gz
[testenv:e2e]
usedevelop = true
extras = tests
commands_pre =
playwright install chromium
commands =
pytest -xvv -m e2e {posargs:tests/testapp/tests}
deps =
Django>=5.2,<5.3
pytest
pytest-django
pytest-playwright
playwright