From 63c7291c3e8f5f24a37a8122bdd41853aa20a1cc Mon Sep 17 00:00:00 2001 From: Peter Law Date: Tue, 12 Dec 2023 11:35:23 +0000 Subject: [PATCH] Test against Django 4.2 & 5.0 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. --- .github/workflows/check.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2c53ffa..25b8a11 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 @@ -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 @@ -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