SonarQube Enterprise Edition - Ruby - Coverage Is Not Reporting To SonarQube

SonarQube - Enterprise Edition 9.3
SimpleCov version 0.21.0

I am trying to view the code coverage on SonarQube for my ruby project. I have configured the GHA scanner to scan the coverage.json report that is generated by simplecov however I am still seeing that there is 0% where as the simplecov coverage output displays

Coverage report generated for RSpec to /home/runner/work/shipment-tracking-service/shipment-tracking-service/coverage. 188 / 208 LOC (90.38%) covered.

The scanner scans the coverage.json file without issues but I am still not seeing any coverage for my branch.

Please don’t raise duplicate threads.

I will close this one.

1 Like