Skip to content
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

Execute Sonar analysis with GHA (including code coverage) #140

Closed
kwin opened this issue Jun 2, 2024 · 0 comments
Closed

Execute Sonar analysis with GHA (including code coverage) #140

kwin opened this issue Jun 2, 2024 · 0 comments
Assignees

Comments

@kwin
Copy link
Contributor

kwin commented Jun 2, 2024

As the idea is to drop the Eclipse Jenkins (https://ci.eclipse.org/sisu/) altogether we should solely rely on GitHub Actions for building. The should comprise Sonarcloud as well (as outlined in https://docs.sonarsource.com/sonarcloud/advanced-setup/ci-based-analysis/sonarscanner-for-maven/) as the regular analysis being executed on Solarcloud.io never calculates any coverage information (https://docs.sonarsource.com/sonarcloud/enriching/test-coverage/overview/).

We already have a matrix build in place. The idea is to execute the Sonar Maven plugin only once (with JDK17 or newer) on a single OS.

Prerequisites:

@kwin kwin changed the title Execute Sonarcloud with GHA (including code coverage) Execute Sonar analysis with GHA (including code coverage) Jun 2, 2024
@kwin kwin self-assigned this Jun 3, 2024
kwin added a commit that referenced this issue Jun 3, 2024
Only generate coverage info conditionally (with profile "code-coverage")
This closes #140
@kwin kwin closed this as completed in 43a200d Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant