Skip to content

Commit

Permalink
Add testing for Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Feb 3, 2024
1 parent ca8de19 commit 4447777
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
env:
COVERAGE_OPTIONS: "-a"

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand All @@ -45,6 +46,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Security',
'Topic :: System :: Systems Administration :: Authentication/Directory',
],
Expand Down
11 changes: 7 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
[tox]
; Minimum version of Tox
minversion = 1.8
envlist =
py{38,39,310,311}-dj{32,40,41,42}-{normal,yubikey,custom_user,webauthn}
py{310,311}-djmain-{normal,yubikey,custom_user,webauthn}
py{38,39,310}-dj32-{normal,yubikey,custom_user,webauthn}
py{38,39,310,311}-dj{40,41,42}-{normal,yubikey,custom_user,webauthn}
py{310,311,312}-dj{50,main}-{normal,yubikey,custom_user,webauthn}

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
DJANGO =
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42
5.0: dj50
main: djmain
VARIANT =
normal: normal
Expand All @@ -38,11 +39,13 @@ basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
deps =
dj32: Django<4.0
dj40: Django<4.1
dj41: Django<4.2
dj42: Django<5.0
dj50: Django<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
yubikey: django-otp-yubikey
webauthn: webauthn>=1.11.0,<1.99
Expand Down

0 comments on commit 4447777

Please sign in to comment.