Exclude test code from coverage in CI build
Use the new grcov-c-options from gnomeos-basic-ci to exclude the tests/ subdir from coverage calculations. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/732>
This commit is contained in:
@@ -9,6 +9,7 @@ include:
|
||||
- component: "gitlab.gnome.org/gnome/citemplates/gnomeos-basic-ci@master"
|
||||
inputs:
|
||||
meson-options: "-Dtracing=true -Dprofile=development"
|
||||
grcov-c-options: '--ignore "tests/*"'
|
||||
|
||||
variables:
|
||||
APP_ID: "org.gnome.Calendar.Devel"
|
||||
|
||||
Reference in New Issue
Block a user