Hi, I am trying to get the coverage working for a Ruby/Rails project that uses rspec. We are using:
Our rspec run creates the coverage/coverage.json file.
When sonar scans the overage I get the error:
WARN: File ‘/home/github/actions-runner/_work/mediascape_integration/mediascape_integration/app/models/media_type.rb’ is present in coverage report but cannot be found in filesystem
That is the fully qualified path on the github runner, the same runner is used for the sonarcloud scan.
I have tried to change the path to a relative path but it still fails.
File ‘app/models/api/mediascape_tenant_advertiser.rb’ is present in coverage report but cannot be found in filesystem
Our coverage reported in sonarcloud is 0%.
What path is sonarcloud expecting?