aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-06-07 13:00:59 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-06-22 21:05:11 +0300
commit765aff5a42d9b7568bbd89f711d52c2da346e91c (patch)
tree11e3b60053d4f5061f3b970dccc4a9b91e313770 /data
parentedfe24178d86450a8184bd139e03c5cdcad91100 (diff)
downloadmeson-765aff5a42d9b7568bbd89f711d52c2da346e91c.zip
meson-765aff5a42d9b7568bbd89f711d52c2da346e91c.tar.gz
meson-765aff5a42d9b7568bbd89f711d52c2da346e91c.tar.bz2
coverage: Enable coverage reports
Diffstat (limited to 'data')
-rw-r--r--data/.coveragerc.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/.coveragerc.in b/data/.coveragerc.in
new file mode 100644
index 0000000..328e13c
--- /dev/null
+++ b/data/.coveragerc.in
@@ -0,0 +1,25 @@
+[run]
+branch = True
+parallel = True
+concurrency = multiprocessing
+data_file = @ROOT@/.coverage/coverage
+source = @ROOT@/mesonbuild/
+
+[report]
+exclude_lines =
+ if T.TYPE_CHECKING:
+
+[paths]
+mesonbuild =
+ mesonbuild/
+ __w/meson/meson/mesonbuild/
+ @ROOT@/mesonbuild/
+
+[html]
+directory = @ROOT@/.coverage/html
+
+[xml]
+output = @ROOT@/.coverage/coverage.xml
+
+[json]
+output = @ROOT@/.coverage/coverage.json