IDE-325: Configure SonarQube Code Coverage Job#5183
IDE-325: Configure SonarQube Code Coverage Job#5183harshsomankar123-tech wants to merge 9 commits intoCatrobat:developfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds SonarCloud/SonarQube analysis with coverage reporting to the CI pipeline for the Catroid IDE module by integrating the Gradle Sonar plugin and wiring CI artifacts into a dedicated analysis job.
Changes:
- Adds the
org.sonarqubeGradle plugin and configures Sonar project/org/host properties. - Uploads JaCoCo XML from unit tests and Android test coverage XML from emulator-based workflows as CI artifacts.
- Introduces a
sonarqubeGitHub Actions job that downloads coverage artifacts and runs./gradlew sonarwithsonar.coverage.jacoco.xmlReportPaths.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| build.gradle | Adds Sonar Gradle plugin + root Sonar properties for SonarCloud. |
| .github/workflows/main.yml | Uploads unit-test coverage XML, adds a Sonar analysis job that downloads coverage artifacts and runs Sonar. |
| .github/workflows/emulated_tests.yml | Uploads Android test coverage XML as an artifact for later Sonar ingestion. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



Reference:
Jira Ticket: (https://catrobat.atlassian.net/browse/IDE-325)
Description:
This pull request introduces a dedicated SonarQube code coverage job to the CI pipeline. The goal is to automate the reporting of test coverage and code quality metrics, ensuring better visibility into the codebase health and maintaining high development standards within the IDE module.
Changes:
developbranch.Checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.