-
Notifications
You must be signed in to change notification settings - Fork 0
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
Include source code analysis #3
Comments
Argh, SonarCloud GitHub action seems not (now) support C/C++ analysis 😭 : https://github.com/SonarSource/sonarcloud-github-action#do-not-use-this-github-action-if-you-are-in-the-following-situations This language requires build-wrapper usage, seems not been included into action. |
Wrapper URL download: http://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip |
@peio42 : A |
See "codeAnalysis" branch for that (which will evolve to run code analsysis) |
@peio42 In your hand 😁 : https://github.com/peio42/uvpp/runs/1473975983?check_suite_focus=true#step:7:10 |
@axel3rd :
|
Humm ... don't know why 😢. I would test if removing the "sub call of make" could produce a better result. |
See https://community.sonarsource.com/t/the-build-wrapper-dump-json-file-was-found-but-0-c-c-objective-c-files-were-analyzed/15944, perhaps it is not supported, because compilation and analysis (in docker) are not done in the same environment. But I can reproduce the problem locally ... so perhaps not in this case (even if it smells not good). |
I can analyse the project locally but with:
So there is a understanding to have with subdirectories. Perhaps a problem is that I will provide some change (that works but perhaps not sustainable) to see if analyse with GitHub Action could be OK (because not supported officially). |
Really not supported https://github.com/peio42/uvpp/runs/1489280883?check_suite_focus=true#step:7:133 😢 |
Scanner inside container is definitively dead ... it execute I will try manually with scanner |
@peio42 : It is ok 👍, now: https://sonarcloud.io/dashboard?branch=codeAnalysis&id=org.blutch%3Auvpp (branch sample ... when TODO:
|
@peio42 : You should Enable summary comment in project settings: https://sonarcloud.io/project/settings?category=pull_request&id=org.blutch%3Auvpp |
[image: image.png]
It is by default...
Le sam. 5 déc. 2020 à 18:13, Alix Lourme <notifications@github.com> a
écrit :
… I need to analyse why PullRequest decoration is not done (perhaps because
all is done manually)
@peio42 <https://github.com/peio42> : You should *Enable summary comment*
in project settings:
https://sonarcloud.io/project/settings?category=pull_request&id=org.blutch%3Auvpp
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKVMZSIRBBOASRBTLKK2H3TSTJS4XANCNFSM4UGT7WJQ>
.
|
So perhaps to be complicated with scanner executed manually ... to see in the future |
See: https://github.com/marketplace/actions/sonarcloud-scan
@peio42 : Please create on https://sonarcloud.io/
org.blutch:uvpp
SONAR_TOKEN
) in repo secretsThe text was updated successfully, but these errors were encountered: