summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-08 15:07:30 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-08 20:36:40 -0400
commitb02f347a2ef75503da607dcd5ab07f60c8a82b15 (patch)
treecc8941ac21bd4bce42e35d28c91b6731953bcc1f /.coveragerc
parent374c4e0ad3f418396414684775d58d0d0beea27e (diff)
downloadbuildstream-b02f347a2ef75503da607dcd5ab07f60c8a82b15.tar.gz
.coveragerc: Configuring so that reports from different environments can be combined
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc18
1 files changed, 11 insertions, 7 deletions
diff --git a/.coveragerc b/.coveragerc
index b33588362..ec8cd78d6 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -1,14 +1,18 @@
[run]
concurrency = multiprocessing
-source = buildstream
+include =
+ */buildstream/*
+
omit =
# Omit profiling helper module
- buildstream/_profile.py
-
- # Omit stuff from the system which might accidentally creep in
- /usr/*
- /home/*
- /root/*
+ */buildstream/_profile.py
[report]
show_missing = True
+precision = 2
+
+[paths]
+source =
+ buildstream/
+ */site-packages/buildstream/
+ */buildstream/buildstream/