-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support/wagtail 5.1 #3
Conversation
490bd44
to
8e5e1bb
Compare
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has the effect of cancelling previous running tests if new tests are requested.
name: | | ||
build (Python ${{ matrix.python-version }}, | ||
Django ${{ matrix.django-version }}, | ||
Wagtail ${{ matrix.wagtail-version }}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed so that running tests have a more meaningful sidebar title. The title will now show the Python version been test in each job.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, it's much clearer
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
django-version: ["3.2", "4.1", "4.2"] | ||
wagtail-version: ["4.1", "4.2", "5.0"] | ||
exclude: | ||
- python-version: "3.8" | ||
django-version: "4.2" | ||
- python-version: "3.9" | ||
django-version: "4.2" | ||
- python-version: "3.10" | ||
django-version: "4.2" | ||
- python-version: "3.11" | ||
django-version: "3.2" | ||
- python-version: "3.11" | ||
wagtail-version: "4.1" | ||
- python-version: "3.11" | ||
wagtail-version: "4.2" | ||
- django-version: "3.2" | ||
wagtail-version: "5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't required when using tox-gh-actions. The test matrix is defined in the tox.ini file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, much clearer as well!
Django>=3.2, <4.3 | ||
wagtail>=4.1, <5.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While i have made some changes here they are duplicates of some config in setup.py and don't seem to be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah okay, yeah, looks good
This all look great, I think your changes make it much clearer! |
Hi @nickmoreton , |
Wagtail 5.1 update
The only changes here are to update the test matrix and supported versions. The package should work OK with Wagtail v5.1