-
Notifications
You must be signed in to change notification settings - Fork 12
/
tox.ini
36 lines (29 loc) · 975 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
[tox]
envlist = unittesting,linting
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}/requirements-3.6.txt
-r{toxinidir}/test-requirements.txt
-e .
whitelist_externals = bash
[testenv:linting]
commands =
flake8 cloudify_azure
flake8 azure_sdk
[testenv:unittesting]
commands =
nosetests --cover-html --with-coverage --cover-package=cloudify_azure --with-xunit --xunit-file=nosetests.xml --cover-xml --cover-xml-file=coverage.xml cloudify_azure
nosetests --cover-html --with-coverage --cover-package=azure_sdk --with-xunit --xunit-file=nosetests.xml --cover-xml --cover-xml-file=coverage.xml azure_sdk
[testenv:venv]
commands = {posargs}
[linting]
show-source = True
ignore =
exclude=.venv,.tox,dist,*egg,etc,build,bin,lib,local,share
filename=*.py