Skip to content

Conversation

@pflynn-virtru
Copy link
Member

@pflynn-virtru pflynn-virtru commented Oct 16, 2024

Introduce a new Maven profile for JaCoCo test coverage reporting in the pom.xml. Additionally, update the GitHub Actions workflow to include a SonarCloud scan that uses the JaCoCo coverage data.

DSP-119
DSP-120

Introduce a new Maven profile for JaCoCo test coverage reporting in the `pom.xml`. Additionally, update the GitHub Actions workflow to include a SonarCloud scan that uses the JaCoCo coverage data.
@pflynn-virtru pflynn-virtru requested review from a team as code owners October 16, 2024 14:30
This commit adds necessary properties for integrating SonarCloud to the Maven coverage profile. It includes organization, project key, and host URL settings for SonarCloud.
Upgraded JDK version from 11 to 17 and changed the distribution from 'adopt' to 'temurin' in the checks workflow. This ensures compatibility with newer Java features and improves build stability.
Update the CI workflow to run `mvn clean verify` instead of `mvn clean sonar:sonar`. This ensures that the build verification process is executed, aligning the workflow with standard Maven practices.
Included SDK module in the coverage profile and added multiple reporting phases in the Maven Surefire plugin. This enhances the testing process by generating and aggregating coverage reports at different stages of the build lifecycle.
This integrates the Buf setup action in the checks workflow. The action will be configured using the GitHub token for authentication. This change ensures proper configuration for projects using Buf.
This commit integrates the Jacoco Maven plugin into the project for better code coverage reporting. It configures specific goals and phases to prepare the agent and generate XML reports during the test phase. This change enhances code quality monitoring and facilitates thorough testing practices.
This commit adds the 'sonarcloud' job to the CI workflow file. SonarCloud will help in tracking code quality and identifying potential issues early. It runs alongside existing jobs to ensure comprehensive code analysis during CI checks.
@dmihalcik
Copy link

d'oh

@pflynn-virtru pflynn-virtru merged commit 90bbbc5 into main Oct 16, 2024
7 checks passed
@pflynn-virtru pflynn-virtru deleted the ci/sonar-coverage branch October 16, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants