Dotnet sonarscanner send dotcover html report but no report is displayed on the web interface

Hello,

I have setup dotnet sonarscanner for my opensource project, in the build log it says that it picked up the report:

INFO: Adding this code coverage report to the cache for later reuse: /home/runner/work/UMVC/UMVC/UMVC.Core/./dotCover.Output.html
INFO: Sensor C# Tests Coverage Report Import [csharp] (done) | time=3ms

You can see the log at: UMVC.Core SonarCloud Analysis

The tutorial what I have followed: Using dotcover and SonarCloud

  • ALM used : GitHub
  • CI system used : GitHub Actions
  • Scanner command used when applicable
dotnet sonarscanner begin /k:"UMVC.Editor" \
  /o:"loic-lopez" \
  /n:"UMVC.Editor" \
  /v:"${{ steps.gitversion.outputs.semVer }}" \
  /d:sonar.login="${{ secrets.SONAR_TOKEN_EDITOR }}" \
  /d:sonar.cs.dotcover.reportsPaths=dotCover.Output.html \
  /d:sonar.scm.provider=git \
  /d:sonar.projectDescription="UMVC - Model-View-Controller Generator built for Unity" \
  /d:sonar.host.url=https://sonarcloud.io

Hello

We have a guide for trouble shooting code coverage import - did you read it?