Browse Source

Merge "Make units and linters run in tox by default"

Jenkins 2 years ago
parent
commit
6cb8f9d518
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      tox.ini

+ 3
- 4
tox.ini View File

@@ -1,7 +1,7 @@
1 1
 [tox]
2 2
 minversion = 1.6
3 3
 skipsdist = True
4
-envlist = py27
4
+envlist = units, linters
5 5
 skip_missing_interpreters = True
6 6
 
7 7
 [testenv]
@@ -33,8 +33,8 @@ deps=
33 33
 commands = python -m unittest tests.test_cicd_apps.MuranoCiCdTest.test_deploy_cicd
34 34
 
35 35
 [testenv:units]
36
-# FIXME!
37
-commands = python -m unittest unittests.test_namespaces.TestNamespaces.test_namespaces
36
+commands =
37
+  python -m unittest discover unittests --pattern=*.py
38 38
 
39 39
 [testenv:bindep]
40 40
 # Do not install any requirements. We want this to be fast and work even if
@@ -71,4 +71,3 @@ whitelist_externals = shellcheck
71 71
 commands =
72 72
    {toxinidir}/tools/jenkins/shellcheck.sh {toxinidir}
73 73
    {toxinidir}/tools/jenkins/yamllint.sh {toxinidir}
74
-

Loading…
Cancel
Save