We have integrated Sonar Cloud with our GitHub repo.
I have a GitHub repository that has some java script code (server side) , .sonarcloud.properties file and code coverage report in lcov.info file.
I have SonarQube Scanner 22.214.171.1249 installed on my laptop and when i run the following command I see the coverage report in Sonar Cloud
sonar-scanner -Dsonar.projectKey=xxxxx -Dsonar.organization=xxxxx -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=72xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx64c -Dproject.settings=.sonarcloud.properties
However when the SonarCloud picks up content from GitHub and analyzes there is no coverage report. Can someone please help me understand what I am missing?
The coverage info file in my laptop and Git repo are the same. I have also made sure that there is no absolute paths in lcov.info file.
The contents of .sonarcloud.properties files is provided below
# Path to sources
# Path to tests
# Source encoding
# Exclusions for copy-paste detection