Browse Source

Merge "Cover report omits test files"

changes/15/781615/5
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
e054debf84
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      .coveragerc
  2. +1
    -1
      tox.ini

+ 2
- 1
.coveragerc View File

@ -1,6 +1,7 @@
[run]
branch = True
source = validations-common
source = validations_common
omit = validations_common/tests/*
[report]
ignore_errors = True

+ 1
- 1
tox.ini View File

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


Loading…
Cancel
Save