Skip to content

Commit

Permalink
Test against Wagtail 6.0, Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Feb 12, 2024
1 parent 974f271 commit b378d9a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ on:
# - django 4.0, python 3.9, wagtail 5.0, sqlite
# - django 4.1, python 3.10, wagtail 5.1, postgres
# - django 4.2, python 3.11, wagtail 5.2, sqlite
# - django 4.2, python 3.12, wagtail main, sqlite (allow failures)
# - django 5.0, python 3.12, wagtail 6.0, postgres
# - django 5.0, python 3.12, wagtail main, sqlite (allow failures)
jobs:
test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -43,9 +44,15 @@ jobs:
database: "sqlite3"
modeladmin: true
experimental: false
- python: "3.12"
django: "Django>=5.0,<5.1"
wagtail: "wagtail>=6.0,<6.1"
database: "postgresql"
modeladmin: true
experimental: false

- python: "3.12"
django: "Django>=4.2,<4.3"
django: "Django>=5.0,<5.1"
wagtail: "git+https://github.com/wagtail/wagtail.git@main#egg=wagtail"
database: "sqlite3"
modeladmin: true
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This module supports the creation of A/B testing experiments within a Wagtail si
Installation
------------

wagtail-experiments is compatible with Wagtail 4.1 to 5.2, and Django 3.2 to 4.2. It depends on the Wagtail ModelAdmin module, which is available as an external package as of Wagtail 5.0; we recommend using this rather than the bundled `wagtail.contrib.modeladmin` module to avoid deprecation warnings. The external package will be required as of Wagtail 6.0.
wagtail-experiments is compatible with Wagtail 4.1 to 6.0, and Django 3.2 to 5.0. It depends on the Wagtail ModelAdmin module, which is available as an external package as of Wagtail 5.0; we recommend using this rather than the bundled `wagtail.contrib.modeladmin` module to avoid deprecation warnings. The external package is required as of Wagtail 6.0.

### On Wagtail 5.0 and above

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Framework :: Wagtail',
'Framework :: Wagtail :: 4',
'Framework :: Wagtail :: 5',
'Framework :: Wagtail :: 6',
],
)

0 comments on commit b378d9a

Please sign in to comment.