Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Updated tests to include Django 4.1/2 and Python 3.11. #40

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading