Hi all
We’re using sonarcloud on an open source project.
I’m trying to setup scoverage but can’t get sonarcloud to import the report.
We’re using GitHub actions to execute the build. Result is here:
In step “Build with Maven for Scala 2.12” you can see that it successfully generated the scoverage report:
[INFO] Written XML coverage report [/home/runner/work/smart-data-lake/smart-data-lake/target/scoverage.xml]
In sonarcloud under Administration → Languages → Scala → Path to Scoverage report, I’m trying to set the correct path.
So far I’ve tried:
- **/target/scoverage.xml
- target/scoverage.xml
- **\target\scoverage.xml
- target\scoverage.xml
- /home/runner/work/smart-data-lake/smart-data-lake/target/scoverage.xml
But for all of these, I receive a warning
Unable to import 1 Scoverage report file(s). Please check that property 'sonar.scala.coverage.reportPaths' is correctly configured and the analysis logs for more details.
What’s the correct path to put here?