For my problem, @Alexandre_Frigout was correct: the absolute files paths were causing Sonar to show no coverage. It was because the tests were running in a virtual environment. As temporary workaround, I am using sed
in the pipeline to remove the absolute path.
2 Likes