]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Added separate components.
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Fri, 9 Jan 2026 19:58:17 +0000 (20:58 +0100)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sat, 10 Jan 2026 00:38:52 +0000 (01:38 +0100)
Wait for CI completion before posting status report, avoids emailing an inital report with very low coverage based on pigz tests only.
Make report informational, low coverage will not be a CI failure.
Disable Github Annotations, these are deprecated due to API limits.

.codecov.yaml

index fc17c66a9004d7733eca3e1a309c97df17d8a804..080f7b1b2c58056d3e8eab5526201f865d36af12 100644 (file)
 codecov:
-  max_report_age: off
+  max_report_age: false
   notify:
-    wait_for_ci: false
+    wait_for_ci: true
   require_ci_to_pass: false
+
 comment:
   require_base: false
   require_head: false
+
 coverage:
   status:
     project:
       default:
         threshold: 0.07
+        informational: true
+
+component_management:
+  default_rules: # Defaults inherited by all components
+    statuses:
+      - type: project
+        target: auto
+  individual_components:
+    - component_id: deflate
+      name: deflate
+      paths:
+        - compare*
+        - compress*
+        - deflate*
+        - insert*
+        - match*
+        - arch/generic/compare*
+        - arch/generic/slide*
+    - component_id: inflate
+      name: inflate
+      paths:
+        - chunkset*
+        - inf*
+        - uncompr*
+        - arch/generic/chunk*
+    - component_id: gzlib
+      name: gzlib
+      paths:
+        - gz*
+    - component_id: adler32
+      name: adler32
+      paths:
+        - adler32*
+        - arch/generic/adler32*
+    - component_id: crc32
+      name: crc32
+      paths:
+        - crc32*
+        - arch/generic/crc32*
+    - component_id: common
+      name: common
+      paths:
+        - arch_functions.h
+        - cpu*
+        - fallback*
+        - functable*
+        - trees*
+        - zbuild*
+        - zendian*
+        - zlib*
+        - zmemory*
+        - zutil*
+        - arch/generic/generic_functions.h
+    - component_id: arch_arm
+      name: arch_arm
+      paths:
+        - arch/arm/**
+    - component_id: arch_loongarch
+      name: arch_loongarch
+      paths:
+        - arch/loongarch/**
+    - component_id: arch_power
+      name: arch_power
+      paths:
+        - arch/power/**
+    - component_id: arch_riscv
+      name: arch_riscv
+      paths:
+        - arch/riscv/**
+    - component_id: arch_s390
+      name: arch_s390
+      paths:
+        - arch/s390/**
+    - component_id: arch_x86
+      name: arch_x86
+      paths:
+        - arch/x86/**
+    - component_id: minigzip
+      name: minigzip
+      paths:
+        - test/minigzip.c
+    - component_id: minideflate
+      name: minideflate
+      paths:
+        - test/minideflate.c
+    - component_id: tools
+      name: tools
+      paths:
+        - tools/**
+    - component_id: tests
+      name: tests
+      paths:
+        - test/**
+        - "!test/minigzip.c"
+        - "!test/minideflate.c"
+        - "!test/benchmarks/**"
+    - component_id: benchmarks
+      name: benchmarks
+      paths:
+        - test/benchmarks/**
+
+github_checks:
+    annotations: false
+
 fixes:
-- '/home/actions-runner/_work/zlib-ng/zlib-ng::'
-- '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::'
+  - '/home/actions-runner/_work/zlib-ng/zlib-ng::'
+  - '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::'
+
 ignore:
-- usr/include/.*
-- /usr/include/.*
-- /build/usr/include/.*
-- usr/lib/.*
-- /usr/lib/.*
-- /build/usr/lib/.*
-- usr/lib64/.*
-- /usr/lib64/.*
-- /build/usr/lib64/.*
-- _deps/**/*
+  - usr/include/.*
+  - /usr/include/.*
+  - /build/usr/include/.*
+  - usr/lib/.*
+  - /usr/lib/.*
+  - /build/usr/lib/.*
+  - usr/lib64/.*
+  - /usr/lib64/.*
+  - /build/usr/lib64/.*
+  - _deps/**/*