forked from intel/xml-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
56 lines (52 loc) · 885 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
48
49
50
51
52
53
54
55
56
[tox]
envlist =
lint
py37
py38
py39
requires =
virtualenv
pip
pytest
pytest-html
[testenv]
setenv =
PYTHONPATH = {toxinidir}
passenv =
IPC_PATH
SystemDrive
SystemRoot
TEAMCITY_BUILDCONF_NAME
LC_ALL
LANG
HOME
deps =
pytest
pytest-html
commands =
pip install -e .
pytest -v tests/CommonTests.py --html=pytest_report.html --self-contained-html
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 xmlcli tests
[testenv:lint]
commands =
python -m pre_commit run {posargs:--all}
deps = pre-commit>=1.20.0
skip_install = true
usedevelop = false
[testenv:docs]
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pip install -r requirements.txt
pip install -r test_requirements.txt
make docs
whitelist_externals = make
deps =
sphinx
skip_install = true