Add Codecov coverage badge and configuration#234
Conversation
- Configure jacoco-maven-plugin in org.moreunit.build/pom.xml with a coverage profile. - Add .github/workflows/coverage.yml to automate coverage report generation and upload to Codecov. - Add Codecov badge to README.md. Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Configure jacoco-maven-plugin in org.moreunit.build/pom.xml with a coverage profile.
- Use @{argLine} in tycho-surefire-plugin for Jacoco agent injection.
- Initialize <argLine> property in parent POM to prevent literal '@{argLine}' errors in standard builds.
- Create .github/workflows/coverage.yml for automated coverage reporting.
- Add Codecov badge to README.md.
Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
- Switch from 'argLine' to 'tycho.testArgLine' for JaCoCo agent injection in Tycho. - Initialize 'tycho.testArgLine' property in parent POM to avoid build failures. - Update jacoco-maven-plugin to populate 'tycho.testArgLine'. - Create .github/workflows/coverage.yml and update README.md. Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
I have implemented a coverage badge for the MoreUnit-Eclipse project.
Key changes:
jacoco-maven-pluginto the aggregator POM (org.moreunit.build/pom.xml) within a newcoverageprofile. This profile handles agent preparation for all modules and aggregation of results in the build directory..github/workflows/coverage.ymlwhich triggers on pushes and pull requests to themasterbranch. It performs a full build with thecoverageprofile and uploads the aggregated Jacoco XML report to Codecov.README.mdfile to display the current coverage status.Verified the Maven configuration by running a build with the
coverageprofile and confirming the generation of thejacoco.xmlreport.PR created automatically by Jules for task 303817167026478930 started by @RoiSoleil