@@ -12,10 +12,10 @@ jobs:
12
12
- run : pipx install "poetry>=1.1.12,<2"
13
13
- uses : actions/setup-python@v5
14
14
with :
15
- python-version : " 3.11 "
15
+ python-version : " 3.12 "
16
16
cache : ' poetry'
17
17
- run : pip install tox
18
- - run : tox -e lint,py311 -dj50
18
+ - run : tox -e lint,py312 -dj50
19
19
test_compatibility :
20
20
needs : test
21
21
runs-on : ubuntu-latest
@@ -24,21 +24,18 @@ jobs:
24
24
matrix :
25
25
include :
26
26
# Test with all supported Django versions, for all compatible Python versions.
27
- # See https://docs.djangoproject.com/en/4.0 /faq/install/#what-python-version-can-i-use-with-django for the official matrix.
27
+ # See https://docs.djangoproject.com/en/dev /faq/install/#what-python-version-can-i-use-with-django for the official matrix.
28
28
# Additionally test on Django’s main branch with the most recent Python version.
29
29
- python : " 3.8"
30
30
toxenv : py38-dj32,py38-dj41,py38-dj42
31
31
- python : " 3.9"
32
32
toxenv : py39-dj32,py39-dj41,py39-dj42
33
33
- python : " 3.10"
34
- # Skip testing Django 4.0, already tested in previous workflow job.
35
34
toxenv : py310-dj32,py310-dj41,py310-dj42,py310-djmain
36
35
- python : " 3.11"
37
36
toxenv : py311-dj41,py311-dj42,py311-djmain
38
- # Tentative support for next Python pre-release.
39
- # When django supports the version, uncomment this
40
- # - python: "3.12"
41
- # toxenv: py312-dj41
37
+ - python : " 3.12"
38
+ toxenv : py312-dj42,py312-djmain
42
39
steps :
43
40
- uses : actions/checkout@v4
44
41
- run : pipx install "poetry>=1.1.12,<2"
68
65
run : npm ci --no-audit
69
66
- run : npm run build
70
67
- run : pipx install "poetry>=1.1.12,<2"
71
- - uses : actions/setup-python@v4
68
+ - uses : actions/setup-python@v5
72
69
with :
73
70
python-version-file : pyproject.toml
74
71
cache : ' poetry'
0 commit comments