forked from canonical/hotsos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (33 loc) · 870 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
[tox]
skipsdist = True
envlist = pep8,pylint,bashate,py3
sitepackages = False
[gh-actions]
python =
3.6: py3
3.8: py3, pep8, pylint
3.9: py3
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
TERM=linux
TESTS_DIR={toxinidir}/tests/unit
install_command =
pip install {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests --verbose {posargs:{toxinidir}/tests/unit}
[testenv:pep8]
basepython = python3
commands = {toxinidir}/tools/test/run_flake8.sh \
{toxinidir}/core \
{toxinidir}/plugins \
{toxinidir}/tools \
{toxinidir}/tests/unit
[testenv:pylint]
basepython = python3
commands = {toxinidir}/tools/test/run_pylint.sh
[testenv:bashate]
basepython = python3
commands = {toxinidir}/tools/test/run_bashate.sh