gnodet opened a new pull request, #22469: URL: https://github.com/apache/camel/pull/22469
[CAMEL-23274](https://issues.apache.org/jira/browse/CAMEL-23274) ## Summary Follow-up to #22468 (core coverage) and #22247 (incremental build rationalization). - Add per-module JaCoCo coverage for PR-affected components by reusing the incremental-build action with `-Dcoverage` - Add `jacoco:report` goal to the `coverage` profile in `parent/pom.xml` so each tested module generates its own XML report - Update `sonar.coverage.jacoco.xmlReportPaths` to include both per-module and aggregated report paths ## Coverage strategy | Scope | Approach | Report path | |---|---|---| | Core modules | Aggregated report via `coverage` module (camel-core tests exercise classes across camel-core-model, camel-core-processor, etc.) | `coverage/target/site/jacoco-aggregate/jacoco.xml` | | Components | Per-module reports (each component's tests cover its own classes) | `*/target/site/jacoco/jacoco.xml` | ## Dependencies - Depends on #22247 (incremental-build action) - Builds on #22468 (core coverage baseline) ## Test plan - [ ] Verify per-module JaCoCo reports are generated for tested components - [ ] Verify SonarCloud picks up both aggregated and per-module coverage data - [ ] Verify incremental-build works with `-Dcoverage` in MVND_OPTS -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
