-
Notifications
You must be signed in to change notification settings - Fork 16
ci: add Codecov integration for code coverage tracking #406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
edeandrea
merged 22 commits into
docling-project:main
from
rkmangal23:feature/codecov-integration-199
Mar 25, 2026
+109
−1
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
08bc392
ci: add Codecov integration for code coverage tracking
ac5368b
ci: run prepare-test-reports on push to main
99cd69d
ci: simplify Codecov integration to single Java version
1087cf4
ci: restore PR-only condition for prepare-test-reports
04f125d
ci: add back Java version matrix for coverage reports
c266842
refactor: address PR review feedback for codecov configuration
b6c82fe
fix: add header and footer to codecov layout and remove stray comment
5c347f7
build: pin codecov-action to specific SHA
94eea2f
refactor: remove unnecessary carryforward flags configuration
f6d1d29
fix: improve codecov upload token handling and add guard condition
4d4a436
ci: run codecov upload on push to main branch
6aae592
feat: add per-project coverage tracking for main modules
1af0c33
docs: add per-module README files with codecov badges
2124796
Merge branch 'main' into feature/codecov-integration-199
rkmangal23 45c216f
ci: Add new paths for docling-testcontainers and version tests in cod…
edeandrea fb6b1a6
Merge branch 'main' into feature/codecov-integration-199
edeandrea abfcb45
docs: Add coverage sections and Codecov badges for Testcontainers and…
edeandrea f9ca2be
Merge remote-tracking branch 'rkmangal23/feature/codecov-integration-…
edeandrea 70d999b
ci: Fix Codecov upload conditional in build workflow
edeandrea ca85554
ci: Fix Codecov upload conditional in build workflow
edeandrea 49b2f2f
chore: trigger CI
edeandrea 978bb6e
chore: trigger CI
edeandrea File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # Codecov configuration for docling-java | ||
| # See: https://docs.codecov.com/docs/codecov-yaml | ||
|
|
||
| coverage: | ||
| range: 70..100 | ||
| status: | ||
rkmangal23 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| project: | ||
| default: | ||
| target: auto | ||
| threshold: 1% | ||
| if_not_found: success | ||
| docling-core: | ||
| target: auto | ||
| threshold: 1% | ||
| paths: | ||
| - "docling-core/src/main/java/**" | ||
| if_not_found: success | ||
| docling-serve-api: | ||
| target: auto | ||
| threshold: 1% | ||
| paths: | ||
| - "docling-serve/docling-serve-api/src/main/java/**" | ||
| if_not_found: success | ||
| docling-serve-client: | ||
| target: auto | ||
| threshold: 1% | ||
| paths: | ||
| - "docling-serve/docling-serve-client/src/main/java/**" | ||
| if_not_found: success | ||
| docling-testcontainers: | ||
| target: auto | ||
| threshold: 1% | ||
| paths: | ||
| - "docling-testcontainers/src/main/java/**" | ||
| if_not_found: success | ||
| docling-version-tests: | ||
| target: auto | ||
| threshold: 1% | ||
| paths: | ||
| - "docling/testing/docling-version-tests/src/main/java/**" | ||
| if_not_found: success | ||
| comment: | ||
| layout: "header,diff,flags,tree,footer" | ||
| behavior: default | ||
| require_changes: false | ||
| ignore: | ||
| - "**/*Tests.java" | ||
| - "**/*Test.java" | ||
| - "**/test/**" | ||
| - "docs/**" | ||
| - "buildSrc/**" | ||
| - "docling-testcontainers/**" | ||
| - "docling-testing/**" | ||
rkmangal23 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Docling Core | ||
|
|
||
| [](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-core) | ||
|
|
||
| Core module for Docling Java. | ||
|
|
||
| ## Coverage | ||
|
|
||
| View detailed coverage reports for this module on [Codecov](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-core). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Docling Serve API | ||
|
|
||
| [](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-serve/docling-serve-api) | ||
|
|
||
| API module for Docling Serve. | ||
|
|
||
| ## Coverage | ||
|
|
||
| View detailed coverage reports for this module on [Codecov](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-serve/docling-serve-api). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Docling Serve Client | ||
|
|
||
| [](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-serve/docling-serve-client) | ||
|
|
||
| Client module for Docling Serve. | ||
|
|
||
| ## Coverage | ||
|
|
||
| View detailed coverage reports for this module on [Codecov](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-serve/docling-serve-client). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Docling Testcontainers | ||
|
|
||
| [](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-testcontainers) | ||
|
|
||
| Testcontainers module for Docling Java. | ||
|
|
||
| ## Coverage | ||
|
|
||
| View detailed coverage reports for this module on [Codecov](https://codecov.io/gh/docling-project/docling-java/tree/main/docling-testcontainers). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.