Skip to content

Commit

Permalink
Add Wagtail 4.1 support (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
leongraumans authored Dec 9, 2022
1 parent 8861656 commit bb64476
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,29 @@ jobs:
- py310-dj32-wt216
- py310-dj32-wt30
- py310-dj32-wt40
- py310-dj32-wt41
- py310-dj40-wt216
- py310-dj40-wt30
- py310-dj40-wt40
- py310-dj40-wt41
- py38-dj32-wt215
- py38-dj32-wt216
- py38-dj32-wt30
- py38-dj32-wt40
- py38-dj32-wt41
- py38-dj40-wt216
- py38-dj40-wt30
- py38-dj40-wt40
- py38-dj40-wt41
- py39-dj32-wt215
- py39-dj32-wt216
- py39-dj32-wt30
- py39-dj32-wt40
- py39-dj32-wt41
- py39-dj40-wt216
- py39-dj40-wt30
- py39-dj40-wt40
- py39-dj40-wt41
include:
- python-version: 3.8
tox_env: py38-dj32-wt215
Expand All @@ -53,12 +59,16 @@ jobs:
tox_env: py38-dj32-wt30
- python-version: 3.8
tox_env: py38-dj32-wt40
- python-version: 3.8
tox_env: py38-dj32-wt41
- python-version: 3.8
tox_env: py38-dj40-wt216
- python-version: 3.8
tox_env: py38-dj40-wt30
- python-version: 3.8
tox_env: py38-dj40-wt40
- python-version: 3.8
tox_env: py38-dj40-wt41
- python-version: 3.9
tox_env: py39-dj32-wt215
- python-version: 3.9
Expand All @@ -67,12 +77,16 @@ jobs:
tox_env: py39-dj32-wt30
- python-version: 3.9
tox_env: py39-dj32-wt40
- python-version: 3.9
tox_env: py39-dj32-wt41
- python-version: 3.9
tox_env: py39-dj40-wt216
- python-version: 3.9
tox_env: py39-dj40-wt30
- python-version: 3.9
tox_env: py39-dj40-wt40
- python-version: 3.9
tox_env: py39-dj40-wt41
- python-version: "3.10"
tox_env: py310-dj32-wt215
- python-version: "3.10"
Expand All @@ -81,12 +95,16 @@ jobs:
tox_env: py310-dj32-wt30
- python-version: "3.10"
tox_env: py310-dj32-wt40
- python-version: "3.10"
tox_env: py310-dj32-wt41
- python-version: "3.10"
tox_env: py310-dj40-wt216
- python-version: "3.10"
tox_env: py310-dj40-wt30
- python-version: "3.10"
tox_env: py310-dj40-wt40
- python-version: "3.10"
tox_env: py310-dj40-wt41
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


install_requires = [
"wagtail>=2,<4.1",
"wagtail>=2,<4.2",
"Unidecode>=0.04.14,<2.0",
]

Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
flake8
py{38,39,310}-dj{32}-wt{215,216,30,40}
py{38,39,310}-dj{40}-wt{216,30,40}
py{38,39,310}-dj{32}-wt{215,216,30,40,41}
py{38,39,310}-dj{40}-wt{216,30,40,41}

[gh-actions]
python =
Expand All @@ -21,6 +21,7 @@ deps =
wt216: wagtail>=2.16,<2.17
wt30: wagtail>=3.0,<4.0
wt40: wagtail>=4.0,<4.1
wt41: wagtail>=4.1,<4.2

commands =
coverage run manage.py test
Expand Down

0 comments on commit bb64476

Please sign in to comment.