-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathtox.ini
More file actions
52 lines (48 loc) · 979 Bytes
/
tox.ini
File metadata and controls
52 lines (48 loc) · 979 Bytes
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
44
45
46
47
48
49
50
51
52
[tox]
envlist = py{312}-django{52}, quality, pii_check, check_keywords
skipsdist = true
isolated_build = true # Enable isolated build environments
[testenv]
envdir = {toxworkdir}/{envname}
deps =
django52: Django>=5.2,<6.0
passenv =
CONN_MAX_AGE
DB_ENGINE
DB_HOST
DB_NAME
DB_PASSWORD
DB_PORT
DB_USER
ENABLE_DJANGO_TOOLBAR
ELASTICSEARCH_URL
allowlist_externals =
make
commands =
make validate
[testenv:quality]
envdir = {toxworkdir}/{envname}
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/quality.txt
commands =
make quality
[testenv:pii_check]
envdir = {toxworkdir}/{envname}
allowlist_externals =
make
deps =
Django>=5.2,<6.0
commands =
make pii_check
[testenv:check_keywords]
envdir = {toxworkdir}/{envname}
setenv =
DJANGO_SETTINGS_MODULE = notesserver.settings.test
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/test.txt
commands =
make check_keywords