]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Ignore benchmarks in codecov coverage reports.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sat, 10 Jan 2026 12:54:23 +0000 (13:54 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 10 Jan 2026 16:10:32 +0000 (17:10 +0100)
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.

.codecov.yaml

index 080f7b1b2c58056d3e8eab5526201f865d36af12..9f3157b7b11dc3150fed3636a99a8ca26b3666c8 100644 (file)
@@ -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/**