Skip to content

Commit

Permalink
feat: Django 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pennersr committed Aug 15, 2024
1 parent b7eaefd commit d6e07b2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ main, '0.55.x' ]
branches: [ main ]
pull_request:
branches: [ main, '0.55.x' ]
branches: [ main ]

jobs:
testenv:
Expand All @@ -14,14 +14,20 @@ jobs:
matrix:
project: ['regular', 'headless_only']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['main', '4.2', '5.0']
django-version: ['main', '4.2', '5.0', '5.1']
exclude:
- python-version: '3.8'
django-version: '5.0'

- python-version: '3.9'
django-version: '5.0'

- python-version: '3.8'
django-version: '5.1'

- python-version: '3.9'
django-version: '5.1'

- python-version: '3.8'
django-version: 'main'

Expand Down Expand Up @@ -49,7 +55,7 @@ jobs:
DJANGO: ${{ matrix.django-version }}
PRJ: ${{ matrix.project }}
- name: Coverage (Coveralls)
if: ${{ success() && matrix.django-version == '5.0' && matrix.python-version == '3.12' && matrix.project == 'regular' }}
if: ${{ success() && matrix.django-version == '5.1' && matrix.python-version == '3.12' && matrix.project == 'regular' }}
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers =
Framework :: Django
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Django :: 5.1
project_urls =
Documentation = https://docs.allauth.org/en/latest/
Changelog = https://github.com/pennersr/django-allauth/blob/main/ChangeLog.rst
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
prj{regular,headless_only}-py{38,39,310,311,312}-django{42}
prj{regular,headless_only}-py{310,311,312}-django{50}
prj{regular,headless_only}-py{310,311,312}-django{50,51}
prj{regular,headless_only}-py{310,311,312}-djangomain
docs
isort
Expand All @@ -26,6 +26,7 @@ deps =
pytest-django>=4.5.2
django42: Django==4.2.*
django50: Django==5.0.*
django51: Django==5.1.*
djangomain: git+https://github.com/django/django.git@main#egg=django
python3-saml>=1.15.0,<2.0.0
extras =
Expand Down Expand Up @@ -120,6 +121,7 @@ DJANGO =
main: djangomain
4.2: django42
5.0: django50
5.1: django51
PRJ =
regular: prjregular
headless_only: prjheadless_only

0 comments on commit d6e07b2

Please sign in to comment.