Skip to content

Commit

Permalink
Updated tests to include Django 4.1/2 and Python 3.11. (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
greyhare authored Jul 25, 2023
1 parent d72b733 commit 26b26d7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.8, 3.9, "3.10"] # latest release minus two
python-version: [ 3.8, 3.9, "3.10", "3.11"] # latest release minus two
requirements-file: [
dj32_cms310.txt,
dj32_cms311.txt,
dj40_cms311.txt,
dj41_cms311.txt,
dj42_cms311.txt,
]
os: [
ubuntu-20.04,
Expand Down
4 changes: 4 additions & 0 deletions tests/requirements/dj41_cms311.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r base.txt

Django>=4.1,<4.2
django-cms>=3.11,<4.0
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,<4.0
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
envlist =
flake8
isort
py{38,39,310}-dj{32}-cms{310,311}
py{38,39,310}-dj{40}-cms{311}
py{38,39,310,311}-dj{32}-cms{310,311}
py{38,39,310,311}-dj{40,41,42}-cms{311}

skip_missing_interpreters=True

Expand All @@ -12,6 +12,8 @@ deps =
-r{toxinidir}/tests/requirements/base.txt
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
cms310: django-cms>=3.10,<3.11
cms311: django-cms>=3.11,<4.0
commands =
Expand Down

0 comments on commit 26b26d7

Please sign in to comment.