mirror of
https://github.com/django-components/django-components.git
synced 2025-08-13 18:58:01 +00:00
37 lines
730 B
INI
37 lines
730 B
INI
[tox]
|
|
envlist =
|
|
py{36,37,38,39}-django{22,30,31,32}
|
|
flake8
|
|
isort
|
|
|
|
[gh-actions]
|
|
3.6 = py36-django{22,30,31,32}
|
|
3.7 = py37-django{22,30,31,32}
|
|
3.8 = py38-django{22,30,31,32}
|
|
3.9 = py39-django{22,30,31,32}, flake8, isort
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
pytest-xdist
|
|
django22: Django>=2.2,<2.3
|
|
django30: Django>=3.0,<3.1
|
|
django31: Django>=3.1,<3.2
|
|
django32: Django>=3.2,<3.3
|
|
flake8
|
|
isort
|
|
commands = py.test {posargs}
|
|
|
|
[testenv:flake8]
|
|
# Note: Settings for flake8 exists in the setup.cfg file
|
|
changedir = {toxinidir}
|
|
deps = flake8
|
|
commands =
|
|
flake8 .
|
|
|
|
[testenv:isort]
|
|
# Note: Settings for isort exists in the setup.cfg file
|
|
changedir = {toxinidir}
|
|
deps = isort
|
|
commands =
|
|
isort --check-only --diff django_components
|