From 27b8dbd98f247eeb03fa2b902c24bfe9b3cf1440 Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Tue, 5 May 2026 12:47:33 -0400 Subject: [PATCH 1/2] fix: correct Codecov configuration for full module coverage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix wrong path for docling-version-tests (docling/testing → docling-testing) - Remove overly broad ignore rules that excluded docling-testcontainers and docling-testing from all coverage analysis - Add after_n_builds: 3 to wait for all Java version uploads before computing coverage, preventing fluctuating coverage numbers - Define java17/java21/java25 flags with carryforward support for per-Java-version coverage tracking on the dashboard Assisted-By: Claude Code Signed-off-by: Eric Deandrea --- .github/codecov.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index 7737aa6a..a6017cd9 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -8,6 +8,7 @@ coverage: default: target: auto threshold: 1% + after_n_builds: 3 if_not_found: success docling-core: target: auto @@ -37,8 +38,21 @@ coverage: target: auto threshold: 1% paths: - - "docling/testing/docling-version-tests/src/main/java/**" + - "docling-testing/docling-version-tests/src/main/java/**" if_not_found: success +flags: + java17: + paths: + - "!**/test/**" + carryforward: true + java21: + paths: + - "!**/test/**" + carryforward: true + java25: + paths: + - "!**/test/**" + carryforward: true comment: layout: "header,diff,flags,tree,footer" behavior: default @@ -49,5 +63,3 @@ ignore: - "**/test/**" - "docs/**" - "buildSrc/**" - - "docling-testcontainers/**" - - "docling-testing/**" From f18b396432ffb185400b9a0228e6d303edc95ad1 Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Tue, 5 May 2026 12:48:10 -0400 Subject: [PATCH 2/2] docs: update whats-new with Codecov configuration fixes Assisted-By: Claude Code Signed-off-by: Eric Deandrea --- docs/src/doc/docs/whats-new.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/doc/docs/whats-new.md b/docs/src/doc/docs/whats-new.md index 693768ca..b440bbe2 100644 --- a/docs/src/doc/docs/whats-new.md +++ b/docs/src/doc/docs/whats-new.md @@ -7,6 +7,7 @@ Docling Java {{ gradle.project_version }} includes important breaking changes, a ### {{ gradle.project_version }} * **New `docling-bom` module** — A Maven BOM (`ai.docling:docling-bom`) is now published, allowing consumers to align all Docling Java module versions with a single import. +* **Codecov configuration fixes** — Fixed module path mappings, ignore rules, and added per-Java-version coverage flags for accurate coverage reporting across all modules. ### 0.5.1