-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 890 Bytes
/
tox.ini
File metadata and controls
37 lines (34 loc) · 890 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
35
36
37
[tox]
envlist =
py{39,310,311,312}-django42-{noswap, swap}
py{310,311,312}-django50-{noswap, swap}
py{310,311,312,313}-django51-{noswap, swap}
py{310,311,312,313}-django52-{noswap, swap}
lint
[gh-actions]
python =
3.9: py39, lint
3.10: py310, lint
3.11: py311, lint
3.12: py312, lint
3.13: py313, lint
[testenv]
commands =
rm -rf tests/default_app/migrations/ tests/alt_app/migrations/
python -m unittest discover -s tests
deps =
django42: django~=4.2.0
django50: django~=5.0.0
django51: django~=5.1.0
django52: django~=5.2.0rc
setenv =
noswap: DJANGO_SETTINGS_MODULE=tests.settings
swap: DJANGO_SETTINGS_MODULE=tests.swap_settings
allowlist_externals = rm
[testenv:lint]
commands =
rm -rf tests/default_app/migrations/ tests/alt_app/migrations/
flake8 swapper tests
allowlist_externals =
rm
flake8