Skip to content

Commit

Permalink
Added CI runs for Django 5.0 and Python 3.12 (#1618)
Browse files Browse the repository at this point in the history
* Added Django50 test support
* Updated CI to support Python 3.12
  • Loading branch information
AmiZya committed Nov 6, 2023
1 parent 3d352ce commit 4a618e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "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 @@ -3,6 +3,7 @@ envlist =
{py37,py38,py39,py310}-django32,
{py38,py39}-{django40,django41,django42},
{py310, py311}-{django41,django42,latest},
{py310, py311, py312}-{django41,django42,django50,latest},
isort,lint,docs,warnings,
isolated_build = true

Expand All @@ -21,9 +22,10 @@ deps =
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2rc1,<5.0
django50: Django>=5.0b1,<5.1
!latest: djangorestframework
latest: {[latest]deps}
-rrequirements/test-ci.txt
-r requirements/test-ci.txt

[testenv:isort]
commands = isort --check-only --diff django_filters tests {posargs}
Expand Down

0 comments on commit 4a618e0

Please sign in to comment.