Skip to content

Commit 11e551b

Browse files
authored
Update tox.ini
1 parent c0b02a4 commit 11e551b

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

tox.ini

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,53 @@ envlist =
55
flake8
66
mypy
77
docs
8-
py36-django{20,21,22,30,31,32,main}
9-
py37-django{20,21,22,30,31,32,main}
10-
py38-django{20,21,22,30,31,32,main}
11-
py39-django{20,21,22,30,31,32,main}
8+
py37-django{20,21,22,30,31,32,main}-{linux,macos,windows}
9+
py38-django{21,22,30,31,32,40,41,42,main}-{linux,macos,windows}
10+
py39-django{21,22,30,31,32,40,41,42,main}-{linux,macos,windows}
11+
py310-django{22,30,31,32,40,41,42,main}-{linux,macos,windows}
12+
py311-django{22,30,31,32,40,41,42,main}-{linux}
1213
skip_missing_interpreters = True
1314
isolated_build = True
1415
requires =
1516
setuptools >= 30.0.0
1617

1718
[gh-actions]
1819
python =
19-
3.6: py36
2020
3.7: py37
2121
3.8: py38
2222
3.9: py39
23+
3.10: py310
24+
3.11: py311
25+
26+
[gh-actions:env]
27+
PLATFORM =
28+
ubuntu-latest: linux
29+
macos-latest: macos
30+
windows-latest: windows
2331

2432
[testenv]
25-
usedevelop = false
26-
basepython =
27-
py39: python3.9
28-
py38: python3.8
29-
py37: python3.7
30-
py36: python3.6
31-
.package: python3
33+
usedevelop = true
3234
deps =
35+
django20: Django>=2.0,<2.1
36+
django21: Django>=2.1,<2.2
37+
django22: Django>=2.2,<2.3
38+
django30: Django>=3.0,<3.1
39+
django31: Django>=3.1,<3.2
40+
django32: Django>=3.2,<3.3
41+
django40: Django>=4.0,<4.1
42+
django41: Django>=4.1,<4.2
43+
django42: Django>=4.2,<4.3
44+
main: https://github.com/django/django/archive/main.tar.gz
3345
django-lifecycle==0.9.0
3446
pytz==2021.1
3547
six==1.15.0
3648
sqlparse==0.4.1
3749
typing-extensions==3.7.4.3
3850
urlman==1.4.0
51+
psycopg2==2.8.6
3952
coverage
4053
codacy-coverage
4154
mysqlclient
42-
django20: Django>=2.0,<2.1
43-
django21: Django>=2.1,<2.2
44-
django22: Django>=2.2,<2.3
45-
django30: Django>=3.0,<3.1
46-
django31: Django>=3.1,<3.2
47-
django32: Django>=3.2,<3.3
48-
main: https://github.com/django/django/archive/main.tar.gz
49-
py39: psycopg2==2.8.6
50-
py38: psycopg2==2.8.6
51-
py37: psycopg2==2.8.6
52-
py36: psycopg2==2.8.6
5355
passenv = *
5456
commands =
5557
coverage run manage.py test --no-input
@@ -58,12 +60,12 @@ commands =
5860
- python-codacy-coverage -r coverage.xml
5961

6062
[testenv:mypy]
61-
basepython = python3.6
63+
basepython = python3.7
6264
deps = mypy==0.740
6365
commands = mypy .
6466

6567
[testenv:flake8]
66-
basepython = python3.6
68+
basepython = python3.7
6769
deps = flake8
6870
commands = flake8 .
6971

0 commit comments

Comments
 (0)