Lcov coverage is always 0 when running from the GithubActions
- ALM used: GitHub
- CI system used: GithubActions
- Scanner command used when applicable (private details masked):
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v1.6
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.organization=my-org
-Dsonar.projectKey=project-dashboard
-Dsonar.projectName=ukama-dashboard
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
-Dsonar.sources=.
-Dsonar.verbose=true
- Languages of the repository
Typescript - Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
Coverage is always 0 on Sonarcloud.
Log: Sonarcloud.log · GitHub
I tried to run sonar-scanner locally with the same parameters and the coverage was uploaded successfully