File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,24 @@ jobs:
13
13
fail-fast : false
14
14
matrix :
15
15
python-version :
16
- - " 3.6"
17
- - " 3.7"
18
16
- " 3.8"
19
17
- " 3.9"
20
- - " pypy-3.6"
21
- - " pypy-3.7"
18
+ - " 3.10"
19
+ - " 3.11"
20
+ - " 3.12"
21
+ - " pypy-3.9"
22
+ - " pypy-3.10"
22
23
tox-env :
23
- - " dj22" # LTS
24
- - " dj31"
25
- - " dj32" # LTS
24
+ - " dj42" # LTS
25
+ - " dj50"
26
26
exclude :
27
- # Python 3.9 is compatible with Django 3.1+
27
+ # Python 3.8/3.9 is incompatible with Django 5.0+
28
+ - python-version : " 3.8"
29
+ tox-env : " dj50"
28
30
- python-version : " 3.9"
29
- tox-env : " dj22 "
30
- - python-version : " 3.9"
31
- tox-env : " dj30 "
31
+ tox-env : " dj50 "
32
+ - python-version : " pypy- 3.9"
33
+ tox-env : " dj50 "
32
34
33
35
env :
34
36
TOXENV : ${{ matrix.tox-env }}
Original file line number Diff line number Diff line change 4
4
# By moving it out of the way (~500MB), we trim test execution time by > 80%.
5
5
toxworkdir = {homedir}/.toxenvs/django-click
6
6
envlist =
7
- dj{22,31,32 },flake8
7
+ dj{42,50 },flake8
8
8
9
9
[gh-actions]
10
10
django =
11
- 2.2: dj22
12
- 3.1: dj31
13
- 3.2: dj32
11
+ 4.2: dj42
12
+ 5.0: dj50
14
13
15
14
[testenv]
16
15
usedevelop = true
@@ -20,9 +19,8 @@ setenv =
20
19
PYTHONPATH ={toxinidir}/djclick/test/testprj
21
20
deps =
22
21
-rrequirements-test.txt
23
- dj22: django>=2.2,<2.3
24
- dj31: django>=3.1,<3.2
25
- dj32: django>=3.2,<3.3
22
+ dj42: django>=4.2,<4.3
23
+ dj50: django>=5.0,<5.1
26
24
commands = py.test -rxs --cov-report = --cov-append --cov djclick {posargs:djclick}
27
25
28
26
You can’t perform that action at this time.
0 commit comments