Skip to content

Commit 70a306e

Browse files
committed
Add newer Python and Django version to the CI files
- update GitHub Actions 'Test' workflow - update tox config file See: #110
1 parent c72254c commit 70a306e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
13-
django-version: ['3.2', '4.0', 'main']
12+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
13+
django-version: ['3.2', '4.0', '4.1', 'main']
1414

1515
steps:
1616
- uses: actions/checkout@v2

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ skipsdist = true
33
usedevelop = true
44
envlist =
55
py{36,37,38,39,310}-dj32
6-
py{38,39,310}-dj{40,main}
6+
py{38,39,310}-dj40
7+
py{38,39,310,311}-dj{41,main}
78

89
[gh-actions]
910
python =
@@ -12,11 +13,13 @@ python =
1213
3.8: py38
1314
3.9: py39
1415
3.10: py310
16+
3.11: py311
1517

1618
[gh-actions:env]
1719
DJANGO =
1820
3.2: dj32
1921
4.0: dj40
22+
4.1: dj41
2023
main: djmain
2124

2225
[testenv]
@@ -25,6 +28,7 @@ deps =
2528
coverage
2629
dj32: Django>=3.2,<3.3
2730
dj40: Django>=4.0,<4.1
31+
dj41: Django>=4.1,<4.2
2832
djmain: https://github.com/django/django/tarball/main
2933
setenv =
3034
DJANGO_SETTINGS_MODULE=simple_menu.test_settings

0 commit comments

Comments
 (0)