Skip to content

Commit

Permalink
Merge pull request #11 from ARYAN-NIKNEZHAD/chore/tox-config
Browse files Browse the repository at this point in the history
🔧 Add tox config
  • Loading branch information
sepehr-akbarzadeh authored Aug 22, 2024
2 parents a892f98 + b694647 commit 3a47ba8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tox.ini
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

0 comments on commit 3a47ba8

Please sign in to comment.