bgatellier / scodi

A command-line tool to industrialize web quality measurement
MIT License
1 stars 0 forks source link

Code coverage is not computed in SonarCloud #66

Closed bgatellier closed 5 days ago

bgatellier commented 1 week ago

SonarCloud does not report the code coverage.

The cause could be some warnings in action (job Run SonarSource/sonarcloud-github-action@v3) :

22:07:04.692 WARN  Could not find tsconfig.json: /node_modules/tsconfig-moon/tsconfig.json; falling back to an empty configuration.
22:07:04.839 WARN  At least one tsconfig.json was not found in the project. Please run 'npm install' for a more complete analysis. Check analysis logs for more details.
22:07:04.885 WARN  Could not resolve 105 file paths in [/github/workspace/packages/api/coverage/lcov.info]
22:07:04.886 WARN  First unresolved path: packages/@types/greenit-cli/coverage/lcov-report/block-navigation.js (Run in DEBUG mode to get full list of unresolved paths)
bgatellier commented 5 days ago

Still not resolved, as there no files detected for analysis (instead of an analysis bug)

bgatellier commented 5 days ago

Coverage IS computed in SonarCloud 🎉