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/**" 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