Browse Source

Merge "Fix python tox -e cover failure"

changes/41/410641/6
Jenkins 5 years ago committed by Gerrit Code Review
parent
commit
6e32055fe9
  1. 4
      .coveragerc
  2. 2
      setup.cfg
  3. 8
      tox.ini

4
.coveragerc

@ -1,7 +1,7 @@
[run]
branch = True
source = kolla-kubernetes
omit = kolla-kubernetes/openstack/*
source = kolla_kubernetes
omit = kolla_kubernetes/tests/*
[report]
ignore_errors = True

2
setup.cfg

@ -1,5 +1,5 @@
[metadata]
name = kolla-kubernetes
name = kolla_kubernetes
summary = Kubernetes deployment of the Kolla containers
description-file =
README.rst

8
tox.ini

@ -22,7 +22,13 @@ commands = flake8 {posargs}
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
commands =
coverage erase
find . -type f -name "*.pyc" -delete
python setup.py testr --coverage --testr-args='{posargs}'
coverage report
whitelist_externals =
find
[testenv:docs]
commands = python setup.py build_sphinx

Loading…
Cancel
Save