Skip to content

Commit 75e4724

Browse files
committed
Add Django 4.0 tests
1 parent fa74e84 commit 75e4724

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/python-test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ jobs:
2727
- py37-dj32-wt216
2828
- py38-dj32-wt215
2929
- py38-dj32-wt216
30+
- py38-dj40-wt216
3031
- py39-dj32-wt215
3132
- py39-dj32-wt216
33+
- py39-dj40-wt216
3234
- py310-dj32-wt215
33-
- py310-dj32-wt216
35+
- py310-dj32-wt216
36+
- py310-dj40-wt216
3437
include:
3538
- python-version: 3.7
3639
tox_env: py37-dj32-wt215
@@ -40,14 +43,20 @@ jobs:
4043
tox_env: py38-dj32-wt215
4144
- python-version: 3.8
4245
tox_env: py38-dj32-wt216
46+
- python-version: 3.8
47+
tox_env: py38-dj40-wt216
4348
- python-version: 3.9
4449
tox_env: py39-dj32-wt215
4550
- python-version: 3.9
4651
tox_env: py39-dj32-wt216
52+
- python-version: 3.9
53+
tox_env: py39-dj40-wt216
4754
- python-version: "3.10"
4855
tox_env: py310-dj32-wt215
4956
- python-version: "3.10"
5057
tox_env: py310-dj32-wt216
58+
- python-version: "3.10"
59+
tox_env: py310-dj40-wt216
5160
steps:
5261
- uses: actions/checkout@v2
5362
- name: Set up Python ${{ matrix.python-version }}

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
flake8
4-
py{37,38,39,310}-dj{32}-wt{215,216}
4+
py{37,38,39,310}-dj{32,40}-wt{215,216}
55

66
[gh-actions]
77
python =
@@ -15,6 +15,7 @@ deps =
1515
coverage
1616
mock
1717
dj32: Django>=3.2,<3.3
18+
dj40: Django>=4.0,<4.1
1819
wt215: wagtail>=2.15,<2.16
1920
wt216: wagtail>=2.16,<2.17
2021

0 commit comments

Comments
 (0)