forked from django-cms/djangocms-versioning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (29 loc) · 946 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[tox]
envlist =
ruff
py{39.310,311}-dj{32,40,41,42}-sqlite
py{311,312}-djmain-cms-develop4-sqlite
skip_missing_interpreters=True
[testenv]
deps =
-r{toxinidir}/tests/requirements/requirements_base.txt
dj32: -r{toxinidir}/tests/requirements/dj32_cms41.txt
dj40: -r{toxinidir}/tests/requirements/dj40_cms41.txt
dj41: -r{toxinidir}/tests/requirements/dj41_cms41.txt
dj42: -r{toxinidir}/tests/requirements/dj42_cms41.txt
djmain: https://github.com/django/django/archive/main.tar.gz
develop4: https://github.com/django-cms/django-cms/archive/develop-4.tar.gz
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run setup.py test
{env:COMMAND:coverage} report
[testenv:ruff]
commands =
ruff {toxinidir}/djangocms_versioning
ruff {toxinidir}/tests
basepython = python3.11