How to get Sonar Cloud Code Coverege

Hi.I use Gitlab CI for automation. My projects are on .Net Framework and tests on .Net Core 3.1.I have integrated script for sonar in gitlab-ci.yml but report dont give me any information for the tests.
sonarcloud-check:
stage: test
image:
name: sonarsource/sonar-scanner-cli:latest
entrypoint: [""]
cache:
key: “${CI_JOB_NAME}”
paths:
- .sonar/cache
script:
- sonar-scanner

Hi @vladimir_petukhov

Sorry for the delay.
Could you please be a bit more detailed about “report dont five me any information for the tests”?
Some screenshots from SonarCloud and description of what happens VS what you expect is necessary for us to understand.

1 Like