Skip to content

Commit

Permalink
Test against Django 4.2 & 5.0
Browse files Browse the repository at this point in the history
We've been running with 4.2 for a while and it's been fine. It seems
likely that 5.0 will also be fine from having had a quick look at
the release notes.
  • Loading branch information
PeterJCLaw committed Dec 12, 2023
1 parent 449796d commit 63c7291
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
django-version: ["3.2", "4.0", "4.1"]
django-version: ["3.2", "4.0", "4.1", "4.2", "5.0"]
exclude:
# Python 3.11 is not supported until Django 4.1
- python-version: "3.11"
django-version: "3.2"
- python-version: "3.11"
django-version: "4.0"

# Python <3.10 is not supported by Django 5.0+
- python-version: "3.8"
django-version: "5.0"
- python-version: "3.9"
django-version: "5.0"

steps:
- name: Checkout
Expand Down Expand Up @@ -41,7 +53,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.11"]
django-version: ["3.2", "4.1"]
django-version: ["3.2", "4.2", "5.0"]

steps:
- name: Checkout
Expand Down Expand Up @@ -71,7 +83,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.11"]
django-version: ["3.2", "4.1"]
django-version: ["3.2", "4.2", "5.0"]

steps:
- name: Checkout
Expand Down

0 comments on commit 63c7291

Please sign in to comment.