[gjs: 4/18] CI: Ignore subprojects in coverage reports




commit 9267ab49ec52ed2894b2899cbac8bbff23ebda9a
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue Nov 24 21:22:12 2020 -0800

    CI: Ignore subprojects in coverage reports
    
    We don't want coverage reports for e.g. sysprof in our pipeline.

 tools/run_coverage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/run_coverage.sh b/tools/run_coverage.sh
index c193e786..131c4b0b 100755
--- a/tools/run_coverage.sh
+++ b/tools/run_coverage.sh
@@ -8,7 +8,7 @@ GIDATADIR=$(pkg-config --variable=gidatadir gobject-introspection-1.0)
 BUILDDIR="$(pwd)/_coverage_build"
 LCOV_ARGS="--config-file $SOURCEDIR/tools/lcovrc"
 GENHTML_ARGS='--legend --show-details --branch-coverage'
-IGNORE="*/gjs/test/* *-resources.c *minijasmine.cpp"
+IGNORE="*/gjs/test/* *-resources.c *minijasmine.cpp */gjs/subprojects/*"
 
 rm -rf "$BUILDDIR"
 meson "$BUILDDIR" -Db_coverage=true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]