SonarCloud doesn’t seem to accurately report coverage data for Scala on branches.
I have been testing our SonarCloud for one of my scala projects, and can’t seem to get coverage reporting working correctly.
The project on SonarCloud is here https://sonarcloud.io/dashboard?id=eli-jordan_alfred-jenkins
The PR testing code coverage is here test sonar code coverage by eli-jordan · Pull Request #59 · eli-jordan/alfred-jenkins · GitHub
Sonar indicates that there is 0% code coverage on that branch. However, the master branch indicates 81%. I also have codecov enabled for this repo, and you can see that there IS a coverage diff in the PR.
I’m a bit at a loss as to why this is happening, any help would be greatly appreciated.
Note: I ran with the sonar.verbose flag set, but nothing stood out to me. The log is here test sonar code coverage by eli-jordan · Pull Request #59 · eli-jordan/alfred-jenkins · GitHub