Skip to content

Commit

Permalink
Test with Django v5 and Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Dec 24, 2023
1 parent dfff7a9 commit 93dfe02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
Expand All @@ -22,4 +22,4 @@ jobs:
run: tox
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Environment :: Web Environment",
"Topic :: Software Development :: Libraries :: Python Modules"
]
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ envlist=
test-py{39,310}-dj40
test-py{39,310}-dj41
test-py{310,311}-dj42
test-py{311,312}-dj50

[testenv]
deps=
dj32: Django>=3.2,<4
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
test: pytest
pytest-env
skip_install=true
Expand All @@ -26,3 +28,4 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

0 comments on commit 93dfe02

Please sign in to comment.