diff options
author | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-09-29 13:36:09 +0800 |
---|---|---|
committer | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-09-29 13:36:09 +0800 |
commit | 0112f3b6dc378869cc5543fa1be3eefd87ee4205 (patch) | |
tree | 38e25468fb082638f133c052147016db13691185 /gvnfmadapter | |
parent | b73080b0fa5fa14801a5b8429a3f8a8c58165000 (diff) |
Add vfc-gvnfm-driver tox coverge check
Change-Id: I46d723f770379db727483ed9e12ca8b094908d15
Issue-ID: VFC-480
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'gvnfmadapter')
-rw-r--r-- | gvnfmadapter/tox.ini | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gvnfmadapter/tox.ini b/gvnfmadapter/tox.ini index e70d504..5030504 100644 --- a/gvnfmadapter/tox.ini +++ b/gvnfmadapter/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27,pep8 +envlist = py27,pep8,cov skipsdist = true [testenv] @@ -16,4 +16,7 @@ commands = flake8 [testenv:py27] commands = - {[testenv]commands}
\ No newline at end of file + {[testenv]commands} + +[testenv:cov] +commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov
\ No newline at end of file |