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

Run SonarQube scan in Github Actions to support coverage analysis #2030

Merged
merged 6 commits into from
Jan 21, 2024

Conversation

PragmaTwice
Copy link
Member

Refer to https://docs.sonarsource.com/sonarcloud/advanced-setup/automatic-analysis/, there are generally two methods to use SonarCloud: automatic analysis and running analysis via CI.

We need to switch to the second mode to support to generate coverage data and report.

@PragmaTwice PragmaTwice marked this pull request as ready for review January 21, 2024 07:25
@PragmaTwice
Copy link
Member Author

Due to GitHub Actions limits, the newly-added workflow will take effect after this PR is merged.

Copy link
Member

@git-hulk git-hulk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, cool!!

Just out of curious. Is SONARCLOUD_TOKEN pre-defined secret inside organization scope.

@PragmaTwice
Copy link
Member Author

Actually I don't know if it works, so let's try.

@PragmaTwice PragmaTwice merged commit 483b500 into apache:unstable Jan 21, 2024
29 checks passed
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

Successfully merging this pull request may close these issues.

2 participants