Integrate sonarcloud with Github Actions for a Swift project

Thanks again a lot for your help!

I commented the whole Analyze with SonarCloud part and replaced it with the pwd command. Here is the result that I get:

/home/runner/work/ProjectCI/ProjectCI

The ls command doesn’t return anything however.
I don’t know if I’m understanding everything correctly, but I feel like that the project which was generated in the first job (tests) doesn’t exist anymore when I start the second one (the sonarcloud one), because I also tried the pwd/ls command in the first job, and here I correctly see the file tree.

Also, about the python coverage part, I forgot to replace it (I’m following your guide for that). So I plan to replace this:

-Dsonar.python.coverage.reportPaths=coverage.xml

With this:

-Dsonar.coverageReportPaths=coverage.xml