Skip to content

Commit

Permalink
extand tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbi committed Dec 4, 2023
1 parent 6f54b32 commit 29a4b4a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9, "3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v1
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Internet :: WWW/HTTP",
"Framework :: Django",
Expand Down
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
[tox]
envlist =
py{39,310,311}-django42,
py{310,311}-django50,
py{310,311,312}-django50,
py{39,310}-django42-jinja2,
py{310,311}-django{42,50}-jinja2,
py312-django50-jinja2,
gettext,flake8,docs

[gh-actions]
python =
3.12: py312-django50, py312-django50-jinja2
3.11: p311-django-50, p311-django-50-jinjia, p311-django-42, p311-django-42-jinjia
3.10: py310-django42, py310-django42-jinja2, py310-django50, py310-django50-jinja2
3.9: py39-django42, py39-django42-jinja2
Expand All @@ -24,8 +26,9 @@ setenv =
deps =
django42: Django>=4.2a,<4.3
django50: Django>=5.0a,<5.1
py{39,310,311}-django{42,50}: python3-memcached
py{39,310,311,312}-django{42,50}: python3-memcached
jinja2
Pillow

extras =
test
Expand All @@ -43,6 +46,9 @@ commands = python -Wd manage.py test captcha --settings jinja2_settings
[testenv:py311-django50-jinja2]
commands = python -Wd manage.py test captcha --settings jinja2_settings

[testenv:py312-django50-jinja2]
commands = python -Wd manage.py test captcha --settings jinja2_settings


[testenv:gettext]
basepython = python3
Expand Down

0 comments on commit 29a4b4a

Please sign in to comment.