-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
47 lines (36 loc) · 847 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
47
[tox]
envlist =
py3-sitepackages
; py3-doc
; py3-lint
; py311
# Workaround for Vagrant
#toxworkdir={toxinidir}/.tox # default
toxworkdir={env:HOME}/.tox/psidialogs
[testenv]
changedir=tests
deps = -rrequirements-test.txt
commands=
{envpython} -m psidialogs.check.versions
{envpython} -m pytest -n 9 --verbose .
[testenv:py3-sitepackages]
sitepackages=true
passenv = HOME
commands=
{envpython} -m psidialogs.check.versions
{envpython} -m pytest -n 9 --verbose .
[testenv:py3-doc]
sitepackages=true
allowlist_externals=bash
changedir=doc
deps =
-rrequirements-doc.txt
commands=
bash -c "cd ..;./format-code.sh"
{envpython} generate-doc.py --debug
[testenv:py3-lint]
allowlist_externals=bash
changedir=.
deps = -rrequirements-test.txt
commands=
bash -c "./lint.sh"