jamesfredley opened a new pull request, #15687:
URL: https://github.com/apache/grails-core/pull/15687

   ## Step 1 (PR-H): grails-jacoco convention plugin + Codecov coverage
   
   Carved out of the Hibernate 7 Step 1 PR (#15654) per review feedback from 
@matrei that JaCoCo should be introduced in its own focused PR for the project 
to review/decide on independently.
   
   > **Depends on PR-G (#15686).** This PR targets the 
`feat/grails-code-analysis-plugin` branch so the diff shows only the 
JaCoCo-specific changes. PR-G provides the build-logic test scaffold and plugin 
registration block this layers on. Once PR-G merges, this can be retargeted to 
`8.0.x`.
   
   ### What this adds
   
   - **`grails-jacoco`** convention plugin: configures JaCoCo per subproject, 
wires `jacocoTestReport` after each `test`, and registers a root 
`jacocoAggregateReport` task that produces a single XML report for Codecov - 
handling the hibernate5/hibernate7 duplicate-class case (identical class names 
across the two variants).
   - Applies `grails-jacoco` to the same 96 subprojects as 
`grails-code-analysis`.
   - **`coverage.yml`** workflow that runs `jacocoAggregateReport` across 
grails-core and grails-gradle and uploads to Codecov via the existing 
`codecov.yml`.
   
   ### Notes
   
   - Folds in the standalone coverage work from #15668 (which can be closed in 
favour of this stack-aligned PR).
   - Verified with `cd build-logic && ../gradlew :build-logic:test`.
   
   Assisted-by: claude-code:claude-4.7-opus
   


-- 
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]

Reply via email to