-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
28 lines (22 loc) · 839 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
[tox]
envlist = py36,pep8
minversion = 1.6
skipsdist = True
[testenv]
setenv =
VIRTUAL_ENV={envdir}
# NOTE: relative paths were used due to '-w' flag for nosetests util
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = bash
[testenv:pep8]
commands =
pycodestyle ecosystem_tests
[testenv:py36]
commands =
python -m unittest -v
# nosetests --cover-html --with-coverage --cover-package=ecosystem_tests --with-xunit --xunit-file=nosetests.xml --cover-xml --cover-xml-file=coverage.xml --exe ecosystem_tests
# nosetests --cover-html --with-coverage --cover-package=ecosystem_cicd_tools --with-xunit --xunit-file=nosetests.xml --cover-xml --cover-xml-file=coverage.xml --exe ecosystem_cicd_tools
[testenv:venv]
commands = {posargs}