Skip to content

Commit

Permalink
Test against Django 4.0 (and Wagtail main)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Jan 26, 2022
1 parent 719df38 commit 5cc1748
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ jobs:
wagtail: 'main'
postgres: '10.8'
experimental: true
- python: '3.10'
django: '4.0'
wagtail: 'main'
postgres: '10.8'
experimental: true
services:
postgres:
image: postgres:${{ matrix.postgres }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"Framework :: Wagtail",
"Framework :: Wagtail :: 2",
],
install_requires=["Django>=2.2,<4.0", "Wagtail>=2.11,<2.17", "polib>=1.1,<2.0"],
install_requires=["Django>=2.2,<4.1", "Wagtail>=2.11,<2.17", "polib>=1.1,<2.0"],
extras_require={
"testing": ["dj-database-url==0.5.0", "freezegun==1.1.0"],
"documentation": [
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ usedevelop = True
envlist =
python{3.7,3.8,3.9}-django{2.2}-wagtail{2.11,2.12,2.13}-{sqlite,postgres}
python{3.7,3.8,3.9}-django{3.2}-wagtail{2.14,2.15,2.16}-{sqlite,postgres}
python{3.7,3.8,3.9}-django{4.0}-wagtail2.16-{sqlite,postgres}
python{3.10}-dj{3.2,main}-wagtail{2.15,2.16,main}-{sqlite,postgres}
python{3.7,3.8,3.9,3.10}-django{4.0}-wagtail{2.16,main}-{sqlite,postgres}
python{3.10}-django{3.2,main}-wagtail{2.15,2.16,main}-{sqlite,postgres}

[flake8]
# E501: Line too long
Expand Down

0 comments on commit 5cc1748

Please sign in to comment.