Skip to content

Commit

Permalink
Also test with Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ataylor32 committed Apr 14, 2023
1 parent 82cb7c9 commit fb97e10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
build:
name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

services:
postgres:
Expand Down Expand Up @@ -98,6 +98,8 @@ jobs:
python-version: "3.9"
- django-version: "4.1"
python-version: "3.10"
- django-version: "4.1"
python-version: "3.11"

steps:
- uses: actions/checkout@v2
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ envlist =
{py35,py36,py37,py38,py39}-django22
{py36,py37,py38,py39}-django{30,31}
{py36,py37,py38,py39,py310}-django32
{py38,py39,py310}-django{40,41}
{py38,py39,py310}-django40
{py38,py39,py310,py311}-django41

[testenv]
passenv = DATABASE_URL
allowlist_externals = ./runtests.py
commands = ./runtests.py
deps =
django111: Django>=1.11,<2.0
Expand All @@ -22,7 +24,8 @@ deps =
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
dj-database-url==0.5.0
psycopg2==2.8.5
py{27,35,36,37,38,39,310}: psycopg2==2.8.5
py311: psycopg2==2.9.6

[gh-actions]
python =
Expand Down

0 comments on commit fb97e10

Please sign in to comment.