Browse Source

Merge "Coverage considers other all main source folders, omits tests"

changes/66/785566/1
Zuul 6 days ago
committed by Gerrit Code Review
parent
commit
6251461e70
2 changed files with 8 additions and 2 deletions
  1. +7
    -1
      .coveragerc
  2. +1
    -1
      tox.ini

+ 7
- 1
.coveragerc View File

@ -1,7 +1,13 @@
[run]
branch = True
source = tripleo-validations
source =
tripleo_validations
library
lookup_plugins
omit = tripleo-validations/openstack/*
[report]
ignore_errors = True
omit =
tripleo_validations/tests/*
tests/*

+ 1
- 1
tox.ini View File

@ -106,7 +106,7 @@ commands =
[testenv:cover]
setenv =
PYTHON=coverage run --source tripleo_validations --parallel-mode --branch
PYTHON=coverage run --parallel-mode --branch
HOME={envdir}
commands =
coverage erase


Loading…
Cancel
Save