Importing bazel generated lcov code coverage.dat report into sonarqube


I have bazel generated coverage.dat file
./bazel coverage --combined_report=lcov //services/app/...
output: /bazel-out/_coverage/_coverage_report.dat

how can i import this to sonarqube?

Hey there.

SonarQube doesn’t natively read coverage.dat reports.

I was following this post so is it possible? like convert .dat to lcov format and the set its location in properties?

like something like this is there for GO?