-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtox.ini
46 lines (39 loc) · 841 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
44
45
46
[tox]
envlist =
py312
py312-{tempfile,pipe}
py311
py311-{tempfile,pipe}
py310
py310-{tempfile,pipe}
py39
py39-{tempfile,pipe}
py38
py37
py310-doc
py310-lint
# Workaround for Vagrant
#toxworkdir={toxinidir}/.tox # default
toxworkdir={env:HOME}/.tox/easyprocess
[testenv]
deps = -rrequirements-test.txt
setenv =
pipe: EASYPROCESS_USE_TEMP_FILES = 0
tempfile: DUMMY = 1
changedir=tests
commands=
{envpython} -m pytest -v .
[testenv:py310-doc]
allowlist_externals=bash
changedir=doc
deps =
-rrequirements-doc.txt
commands=
bash -c "cd ..;./format-code.sh"
{envpython} generate-doc.py --debug
[testenv:py310-lint]
allowlist_externals=bash
changedir=.
deps = -rrequirements-test.txt
commands=
bash -c "./lint.sh"