Skip to content

Commit

Permalink
Update test and tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
vctrklndr committed Aug 20, 2024
1 parent 8528ed0 commit 71bfaba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- py311-dj41-wt50
- py311-dj41-wt51
- py311-dj41-wt52
- py311-dj41-wt60
include:
- python-version: 3.8
tox_env: py38-dj32-wt41
Expand Down
12 changes: 10 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[tox]
envlist =
flake8
py{38,39,310}-dj{32,40,41}-wt{41,42}
py{311,312}-dj{41}-wt{41,50,51,52}

[gh-actions]
python =
3.8: py38
3.9: py39
"3.10": py310
"3.11": py311
"3.12": py312

[testenv]
deps =
Expand All @@ -18,6 +20,10 @@ deps =
dj41: Django>=4.1,<4.2
wt41: wagtail>=4.1,<4.2
wt42: wagtail>=4.2,<4.3
wt50: wagtail>=5.0,<5.1
wt51: wagtail>=5.1,<5.2
wt52: wagtail>=5.2,<5.3
wt60: wagtail>=6.0,<6.1

commands =
coverage run manage.py test
Expand All @@ -26,6 +32,8 @@ basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12

setenv =
DJANGO_SETTINGS_MODULE=tests.settings
Expand All @@ -47,7 +55,7 @@ commands =
ignore_errors = True

[testenv:flake8]
basepython = python3.8
basepython = python3.11
deps = flake8
commands = flake8 wagtailstreamforms

Expand Down

0 comments on commit 71bfaba

Please sign in to comment.