-
Notifications
You must be signed in to change notification settings - Fork 423
/
tox.ini
43 lines (35 loc) · 839 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
37
38
39
40
41
42
43
[tox]
envlist =
py{36,37,38,39}-dj{22,31,32}-{standard,parallel}
skip_missing_interpreters = true
[travis:env]
DJANGO =
2.2: dj22-{standard,parallel}
3.1: dj31-{standard,parallel}
3.2: dj32-{standard,parallel}
[docker:db]
image = postgres:9.6
environment =
POSTGRES_USER=dts_test_project
POSTGRES_PASSWORD=dts_test_project
[testenv]
usedevelop = true
pre = true
deps =
coverage
mock
tblib
psycopg2-binary<=2.8.6
dj22: Django>=2.2a1,<3.0
dj31: Django>=3.1a1,<3.2
dj32: Django>=3.2a1,<4.0
docker =
pg96: db
changedir = dts_test_project
passenv = PG_NAME PG_USER PG_PASSWORD PG_HOST PG_PORT
setenv =
standard: MIGRATION_EXECUTOR=standard
parallel: MIGRATION_EXECUTOR=parallel
commands =
coverage run manage.py test -v 2 --noinput {posargs:tenant_schemas}
coverage report -m --include=../tenant_schemas/*