ci/coverage: Remove coverage from all subprojects

This commit is contained in:
Marco Trevisan (Treviño) 2024-08-02 08:58:19 +02:00
parent a04340a742
commit 447ebe16af

View File

@ -13,7 +13,7 @@ for path in _coverage/*.lcov; do
# Remove coverage from the fuzz tests, since they are run on a separate CI system # Remove coverage from the fuzz tests, since they are run on a separate CI system
lcov --config-file .lcovrc -r "${path}" "*/fuzzing/*" -o "$(pwd)/${path}" lcov --config-file .lcovrc -r "${path}" "*/fuzzing/*" -o "$(pwd)/${path}"
# Remove coverage from copylibs and subprojects # Remove coverage from copylibs and subprojects
for lib in xdgmime libcharset gnulib; do for lib in xdgmime libcharset gnulib subprojects; do
lcov --config-file .lcovrc -r "${path}" "*/${lib}/*" -o "$(pwd)/${path}" lcov --config-file .lcovrc -r "${path}" "*/${lib}/*" -o "$(pwd)/${path}"
done done