Skip to content

Commit

Permalink
This adds python 3.13 to the test matrix
Browse files Browse the repository at this point in the history
- Also updates the python version in the publish.yml workflow to 3.13
  • Loading branch information
nickmoreton committed Nov 21, 2024
1 parent ae883a0 commit be03da0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
cache: "pip"
cache-dependency-path: "**/pyproject.toml"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ min_version = 4.11
env_list =
python{3.9,3.10,3.11}-django4.2-wagtail{5.2,6.2,6.3}
python{3.10,3.11,3.12}-django5.0-wagtail{5.2,6.2,6.3}
python{3.10,3.11,3.12}-django5.1-wagtail6.3
python{3.10,3.11,3.12,3.13}-django5.1-wagtail6.3

[gh-actions]
python =
3.9: python3.9
3.10: python3.10
3.11: python3.11
3.12: python3.12
3.13: python3.13

[testenv]
package = wheel
Expand Down Expand Up @@ -44,7 +45,7 @@ commands =
python -Im coverage run runtests.py test --deprecation all {posargs: -v 2}

[testenv:coverage-report]
base_python = python3.12
base_python = python3.13
package = skip
deps =
coverage>=7.0,<8.0
Expand All @@ -54,14 +55,14 @@ commands =

[testenv:wagtailmain]
description = Test with latest Wagtail main branch
base_python = python3.12
base_python = python3.13
deps =
wagtailmain: git+https://github.com/wagtail/wagtail.git@main#egg=Wagtail

[testenv:interactive]
package = editable
description = An interactive environment for local testing purposes
base_python = python3.12
base_python = python3.13

commands_pre =
python {toxinidir}/manage.py makemigrations
Expand Down

0 comments on commit be03da0

Please sign in to comment.