-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
34 lines (31 loc) · 757 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
[tox]
args_are_paths = false
isolated_build = true
envlist =
{py37,py38,py39,p310}-{django32}
{py38,py39,py310}-{django40,djangomain}
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[testenv]
setenv =
PYTHONPATH = {toxinidir}
DATABASE = {env:DATABASE:sqlite}
deps =
pytest==7.1.2
pytest-django==4.5.2
pytest-cov==3.0.0
psycopg2-binary==2.9.3
django-environ==0.8.1
django32: Django==3.2.*
django40: Django==4.*
djangomain: https://github.com/django/django/archive/main.tar.gz
commands =
pytest -s -vv --no-migrations --cov=easy_tenants --cov-report=xml --cov-report=term-missing
[pytest]
DJANGO_SETTINGS_MODULE = tests.settings
testpaths = tests
python_files = test_*.py