From: Hans Kristian Rosbach Date: Sat, 10 Jan 2026 12:54:23 +0000 (+0100) Subject: Ignore benchmarks in codecov coverage reports. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d74b3d88dc563414b30b902209e050d2a4634e;p=thirdparty%2Fzlib-ng.git Ignore benchmarks in codecov coverage reports. We already avoid collecting coverage when running benchmarks because the benchmarks do not perform most error checking, thus even though they might code increase coverage, they won't detect most bugs unless it actually crashes the whole benchmark. --- diff --git a/.codecov.yaml b/.codecov.yaml index 080f7b1b2..9f3157b7b 100644 --- a/.codecov.yaml +++ b/.codecov.yaml @@ -108,11 +108,6 @@ component_management: - test/** - "!test/minigzip.c" - "!test/minideflate.c" - - "!test/benchmarks/**" - - component_id: benchmarks - name: benchmarks - paths: - - test/benchmarks/** github_checks: annotations: false @@ -122,6 +117,8 @@ fixes: - '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::' ignore: + - test/benchmarks/** + - "**/benchmark_*" - usr/include/.* - /usr/include/.* - /build/usr/include/.* @@ -131,4 +128,4 @@ ignore: - usr/lib64/.* - /usr/lib64/.* - /build/usr/lib64/.* - - _deps/**/* + - _deps/**