-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Test project with different python and django versions Closes(#4)
- Loading branch information
1 parent
ca895b8
commit b694647
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[tox] | ||
envlist = | ||
py38-django40, py39-django40, py310-django40, py311-django40, py312-django40, | ||
py310-django50, py311-django50, py312-django50 | ||
|
||
[gh-actions] | ||
python = | ||
3.8: py38 | ||
3.9: py39 | ||
3.10: py310 | ||
3.11: py311 | ||
3.12: py312 | ||
|
||
[testenv] | ||
description = Run Pytest tests with multiple django versions | ||
usedevelop = True | ||
deps = | ||
django40: django>=4.2,<5.0 | ||
django50: django>=5.0,<5.3 | ||
pytest | ||
pytest-django | ||
pytest-cov | ||
django-stubs | ||
commands = | ||
pytest --cov | ||
|
||
setenv = | ||
DJANGO_SETTINGS_MODULE = kernel.settings |