Add standard code coverage configuration file
Add the .coveragerc configuration consistent with other projects, specifically to define including branch = True and omit including tests in the coverage reports Change-Id: Icb1989e4828ac380acc9a395b241fdf592c7d022
This commit is contained in:
parent
449062bf02
commit
6c86efc1a3
8
.coveragerc
Normal file
8
.coveragerc
Normal file
@ -0,0 +1,8 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = heatclient
|
||||
omit = heatclient/tests/*,heatclient/openstack/*
|
||||
|
||||
[report]
|
||||
ignore_errors = True
|
||||
precision = 2
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
.coverage
|
||||
.coverage*
|
||||
.venv
|
||||
*,cover
|
||||
cover
|
||||
|
Loading…
Reference in New Issue
Block a user