Merge "Make units and linters run in tox by default"
This commit is contained in:
commit
6cb8f9d518
7
tox.ini
7
tox.ini
@ -1,7 +1,7 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
envlist = py27
|
envlist = units, linters
|
||||||
skip_missing_interpreters = True
|
skip_missing_interpreters = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -33,8 +33,8 @@ deps=
|
|||||||
commands = python -m unittest tests.test_cicd_apps.MuranoCiCdTest.test_deploy_cicd
|
commands = python -m unittest tests.test_cicd_apps.MuranoCiCdTest.test_deploy_cicd
|
||||||
|
|
||||||
[testenv:units]
|
[testenv:units]
|
||||||
# FIXME!
|
commands =
|
||||||
commands = python -m unittest unittests.test_namespaces.TestNamespaces.test_namespaces
|
python -m unittest discover unittests --pattern=*.py
|
||||||
|
|
||||||
[testenv:bindep]
|
[testenv:bindep]
|
||||||
# Do not install any requirements. We want this to be fast and work even if
|
# Do not install any requirements. We want this to be fast and work even if
|
||||||
@ -71,4 +71,3 @@ whitelist_externals = shellcheck
|
|||||||
commands =
|
commands =
|
||||||
{toxinidir}/tools/jenkins/shellcheck.sh {toxinidir}
|
{toxinidir}/tools/jenkins/shellcheck.sh {toxinidir}
|
||||||
{toxinidir}/tools/jenkins/yamllint.sh {toxinidir}
|
{toxinidir}/tools/jenkins/yamllint.sh {toxinidir}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user