-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
43 lines (38 loc) · 1.06 KB
/
tox.ini
File metadata and controls
43 lines (38 loc) · 1.06 KB
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
35
36
37
38
39
40
41
42
43
[tox]
envlist =
py310-{dj42,dj50,dj51,dj52},
py311-{dj42,dj50,dj51,dj52},
py312-{dj42,dj50,dj51,dj52,dj60},
py313-{dj51,dj52,dj60},
py314-{dj52,dj60},
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
passenv = CI,GITHUB_WORKFLOW
deps =
dj42: Django == 4.2.*
dj50: Django == 5.0.*
dj51: Django == 5.1.*
dj52: Django == 5.2.*
dj60: Django == 6.0.*
-r requirements.txt
-r requirements-test.txt
commands =
pre-commit run --all-files
pytest --cov=src/django_email_validators --cov-report=term-missing --cov-report=xml
[testenv:translations]
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
deps =
-r requirements.txt
allowlist_externals = git
commands =
python -m django makemessages --ignore ".tox" --ignore "venv" --all --add-location "file" --extension "html,py"
python -m django compilemessages --ignore ".tox" --ignore "venv"
git diff src/django_email_validators/locale/
git diff-index --quiet HEAD src/django_email_validators/locale/