Skip to content

Commit

Permalink
Check library against django 4.1/4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gbip committed Nov 2, 2023
1 parent 5840e4f commit 3a75f7b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
35 changes: 34 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

services:
postgres:
image: postgis/postgis:10-2.5
image: postgis/postgis:13-3
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
Expand Down Expand Up @@ -71,6 +71,39 @@ jobs:
TOXENV: py38-django40-djangorestframework313
- python: 3.9
TOXENV: py39-django40-djangorestframework313
- python: 3.8
TOXENV: py38-django41-djangorestframework313
- python: 3.9
TOXENV: py39-django41-djangorestframework313
- python: 3.10
TOXENV: py39-django41-djangorestframework313
- python: 3.11
TOXENV: py39-django41-djangorestframework313
- python: 3.8
TOXENV: py38-django42-djangorestframework313
- python: 3.9
TOXENV: py39-django42-djangorestframework313
- python: 3.10
TOXENV: py310-django42-djangorestframework313
- python: 3.11
TOXENV: py311-django42-djangorestframework313
- python: 3.8
TOXENV: py38-django41-djangorestframework314
- python: 3.9
TOXENV: py39-django41-djangorestframework314
- python: 3.10
TOXENV: py39-django41-djangorestframework314
- python: 3.11
TOXENV: py39-django41-djangorestframework314
- python: 3.8
TOXENV: py38-django42-djangorestframework314
- python: 3.9
TOXENV: py39-django42-djangorestframework314
- python: 3.10
TOXENV: py310-django42-djangorestframework314
- python: 3.11
TOXENV: py311-django42-djangorestframework314

steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
psycopg2~=2.8.0
psycopg2
django-filter>=2.0
contexttimer
# QA checks
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ envlist =
py{37,38,39,py3}-django{22}-djangorestframework{310,312}{,-pytest}
py{37,38,39,py3}-django{30,31,32}-djangorestframework{312}{,-pytest}
py{38,39,py3}-django{40}-djangorestframework{313}{,-pytest}
py{38,39,10,11,py3}-django{41}-djangorestframework{313,314}{,-pytest}
py{38,39,10,11,py3}-django{42}-djangorestframework{313,314}{,-pytest}

[testenv]
usedevelop = true
Expand All @@ -22,9 +24,12 @@ deps =
django31: Django~=3.1.0
django32: Django~=3.2.0
django40: Django~=4.0.0
django41: Django~=4.1.0
django42: Django~=4.2.0
djangorestframework310: djangorestframework~=3.10.0
djangorestframework312: djangorestframework~=3.12.0
djangorestframework313: djangorestframework~=3.13.0
djangorestframework314: djangorestframework~=3.14.0
-rrequirements-test.txt
pytest: pytest
pytest: pytest-django
Expand Down

0 comments on commit 3a75f7b

Please sign in to comment.