This website requires JavaScript.
Explore
Get Started
openstack
/
heat
Code
Issues
Proposed changes
29eaf4ef71
Branches
Tags
No results found.
heat
/
.coveragerc
8 lines
90 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add a .coveragerc to exclude tests and oslo This is to try produce more relevant output. Change-Id: I08ebfacf19e4975e00ab79229cc18a3b57a1002a
2013-12-02 10:35:39 +00:00
[run]
branch = True
Enabled source code coverage for contrib directory So we can check the source code coverage status of contrib directory. It's obvious to adjust omit and source properties in .coveragerc. The tricky code in .testr.conf is caused by the behavior of setuptools. When running coverage, setuptools set environment variable PYTHON to 'coverage run --source package --parallel-mode' and call testr to run the tests. The value specified via command line option --source will overwrite the source value in .coveragerc. So contrib directory is excluded from coverage run. The change in .testr.conf removed the '--source heat' specified by setuptools. So the source value specified in .coveragerc will be used by coverage. Change-Id: I92f6b058067ace3b3370a3670856ab3dc073b52f
2014-01-24 15:54:09 +00:00
source = heat,contrib
Update .coveragerc after the removal of openstack directory The openstack directory was used to keep codes from oslo-incubator, we have retired oslo-incubator,so don't use this directory any more Change-Id: Id6bf8b3d5792d26d4cedd8804afec0779a71b19e
2016-11-12 03:51:05 +00:00
omit = */tests/*
Add a .coveragerc to exclude tests and oslo This is to try produce more relevant output. Change-Id: I08ebfacf19e4975e00ab79229cc18a3b57a1002a
2013-12-02 10:35:39 +00:00
[report]
Change ignore-errors to ignore_errors Needed for coverage 4.0 Change-Id: Ica00deca0b4ae0bab6cd5bc159ccfd12095a31d2
2015-09-21 14:26:53 +00:00
ignore_errors = True
Copy Permalink