Skip to content

Commit

Permalink
Update test matrix to include Django 5 (#662)
Browse files Browse the repository at this point in the history
  • Loading branch information
protoroto authored Nov 30, 2023
1 parent 05f9b27 commit aeae78d
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.7, 3.8, 3.9, '3.10', "3.11"]
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11"]
requirements-file: [
dj22_cms37.txt,
dj22_cms38.txt,
Expand All @@ -19,7 +19,12 @@ jobs:
dj32_cms311.txt,
dj32_cms41.txt,
dj40_cms311.txt,
dj40_cms41.txt
dj40_cms41.txt,
dj41_cms311.txt,
dj41_cms41.txt,
dj42_cms311.txt,
dj42_cms41.txt,
dj50_cms41.txt
]
os: [
ubuntu-20.04,
Expand All @@ -35,6 +40,16 @@ jobs:
requirements-file: dj41_cms311.txt
- python-version: 3.7
requirements-file: dj41_cms41.txt
- python-version: 3.7
requirements-file: dj42_cms311.txt
- python-version: 3.7
requirements-file: dj42_cms41.txt
- python-version: 3.7
requirements-file: dj50_cms41.txt
- python-version: 3.8
requirements-file: dj50_cms41.txt
- python-version: 3.9
requirements-file: dj50_cms41.txt
- python-version: "3.10"
requirements-file: dj22_cms40.txt
- python-version: "3.11"
Expand Down
4 changes: 4 additions & 0 deletions tests/requirements/dj42_cms311.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r base.txt

Django>=4.2,<5.0
django-cms>=3.11,<3.12
4 changes: 4 additions & 0 deletions tests/requirements/dj42_cms41.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r base.txt

Django>=4.2,<5.0
git+https://github.com/django-cms/django-cms@develop-4#egg=django-cms
4 changes: 4 additions & 0 deletions tests/requirements/dj50_cms41.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r base.txt

Django~=5.0rc1,<5.1
git+https://github.com/django-cms/django-cms@develop-4#egg=django-cms
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ envlist =
py{37,38,39}-dj{31}-cms{38,39}
py{38,39,310}-dj{32}-cms{39,310,311,41}
py{38,39,310}-dj{40}-cms{311,41}
py{38,39,310}-dj{41}-cms{311,41}
py{38,39,310}-dj{42}-cms{311,41}
py{310}-dj{50}-cms{41}

skip_missing_interpreters=True

Expand All @@ -18,6 +21,8 @@ deps =
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4,1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django~=5.0rc1,<5.1
cms37: django-cms>=3.7,<3.8
cms38: django-cms>=3.8,<3.9
cms39: django-cms>=3.9,<3.10
Expand Down

0 comments on commit aeae78d

Please sign in to comment.