From 765aff5a42d9b7568bbd89f711d52c2da346e91c Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 7 Jun 2021 13:00:59 +0200 Subject: coverage: Enable coverage reports --- data/.coveragerc.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 data/.coveragerc.in (limited to 'data/.coveragerc.in') 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 -- cgit v1.1