From 818912c071b732191705cd6bd0f73902e0d0ddb7 Mon Sep 17 00:00:00 2001 From: Adam Taylor Date: Thu, 8 Aug 2024 20:53:23 -0600 Subject: [PATCH] Also test with Django 5.1 --- .github/workflows/test.yml | 9 ++++++++- tox.ini | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b6a8e3c..c5f1667 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: services: postgres: - image: postgres:12 + image: postgres:13 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -94,6 +94,13 @@ jobs: python-version: "3.11" - django-version: "5.0" python-version: "3.12" + # Django 5.1 + - django-version: "5.1" + python-version: "3.10" + - django-version: "5.1" + python-version: "3.11" + - django-version: "5.1" + python-version: "3.12" steps: - uses: actions/checkout@v2 diff --git a/tox.ini b/tox.ini index d01d2bc..7431b75 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ envlist = {py38,py39,py310}-django40 {py38,py39,py310,py311}-django41 {py38,py39,py310,py311,py312}-django42 - {py310,py311,py312}-django50 + {py310,py311,py312}-django{50,51} [testenv] passenv = DATABASE_URL @@ -28,6 +28,7 @@ deps = django41: Django>=4.1,<4.2 django42: Django>=4.2,<5.0 django50: Django>=5.0,<5.1 + django51: Django>=5.1,<5.2 dj-database-url==0.5.0 py{37,38,39,310}: psycopg2==2.8.5 py{311,312}: psycopg2==2.9.6 @@ -54,3 +55,4 @@ DJANGO = 4.1: django41 4.2: django42 5.0: django50 + 5.1: django51