Hi! We are working on a project based on Ruby on Rails and are using Github Actions to scan every push with Sonarcloud.
We’ve just configured everything and every scan is running smoothly, but in every pullrequest we got the message “No Coverage information”, so we read the docs and set the “sonar.ruby.coverage.reportPaths” variable at “sonar-project.properties” file.
But when reading the logs, we got this WARN:
INFO: 1107/1107 source files have been analyzed
INFO: Sensor Ruby Sensor [ruby] (done) | time=50175ms
INFO: Sensor SimpleCov Sensor for Ruby coverage [ruby]
WARN: File ‘/home/runner/work/panel-backend/panel-backend/app/models/center_custom_domain.rb’ is present in coverage report but cannot be found in filesystem
WARN: File ‘/home/runner/work/panel-backend/panel-backend/app/models/cash_flow.rb’ is present in coverage report but cannot be found in filesystem
WARN: File ‘/home/runner/work/panel-backend/panel-backend/app/controllers/api/v3/activities_controller.rb’ is present in coverage report but cannot be found in filesystem
For every file. Sonar is scanning the files ok, and all of them are appearing at the dashboard.
How can we debug the issue? Do you have any advice?
Thanks a lot in advance!