Skip to content

Commit

Permalink
Fix test running in tox 4, add Django 4.2 to the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Oct 16, 2023
1 parent 7bbb850 commit 7efd54b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build-system]
requires = ["setuptools", "wheel", "Django"]

[tool.isort]
profile = "black"
line_length = 99
Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
}
],
TEST_RUNNER="django.test.runner.DiscoverRunner",
DEFAULT_AUTO_FIELD="django.db.models.AutoField",
SITE_ID=4,
SECRET_KEY="testtest",
PARLER_LANGUAGES={4: ({"code": "nl", "fallback": "en"}, {"code": "en"})},
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ def find_version(*parts):
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Application Frameworks",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[tox]
envlist=
py36-django{22,31,32},
py37-django{22,31,32},
py38-django{22,31,32},
docs,
py310-django{42},
docs

[testenv]
deps =
django22: Django ~= 2.2
django31: Django ~= 3.1
django32: Django ~= 3.2
django42: Django ~= 4.2
django-dev: https://github.com/django/django/tarball/main
django-any-urlfield >= 2.6.1
django-wysiwyg >= 0.7.1
Expand Down

0 comments on commit 7efd54b

Please sign in to comment.