Skip to content

Commit

Permalink
Also test with Django 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ataylor32 committed Aug 9, 2024
1 parent b4c57cb commit 818912c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

services:
postgres:
image: postgres:12
image: postgres:13
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -54,3 +55,4 @@ DJANGO =
4.1: django41
4.2: django42
5.0: django50
5.1: django51

0 comments on commit 818912c

Please sign in to comment.