I need your support about .Net repository SonarCloud coverage integration step. I have GitHub repository already linked SonarCloud. I’m trying modify my GitHub action workflow file for coverage function. But i receive below error .
/home/runner/actions-runner/_work/_temp/d22f2b8c–b86d-cfd062170f67.sh: line 3: dotnet-coverage: command not found Error: Process completed with exit code 127.
Here is my part of workflow file. Can you help me resolve the issue please?
In your action, what do the logs look like for the step? Was the install successful? Take notice of the other steps that had to occur for you to use dotnet-sonarscanner (and you had to specify the path to the tool when actually executing it)
Well, now you simply aren’t running dotnet-coverage at all.
I would really suggest you focus on generating a valid coverage report (in a format that SonarCloud accepts), and then worry about whether or not the results show up on SonarCloud. SonarCloud is only involved in reading the report, not generating it.