Psalm reports with GitHub and SonarCloud

We are already integrated one of our private PHP projects with SonarCloud. The out-of-the-box integration works just fine.

We now want to integrate Psalm reports that are generated in GitHub Actions. Since those files are not part of the source code, SonarCloud won’t be able to pick them up.

If I understand this correctly, we will have to use GitHub - SonarSource/sonarcloud-github-action: Integrate SonarCloud code analysis to GitHub Actions and perform the analysis withing the GitHub jobs.

Do we have to somehow disable the automated integration? Or is this not necessary? Or maybe we are missing something and there is a way to implement this using the automated integration?

Hey there.

You will have to switch to CI-based analysis in order to import external issue reports.

That’s what I thought. Thanks for the confirmation!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.