PR Analysis doesn't show code coverage (python)

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube 7.7 (Upgraded from 7.3)
    SonarPython 1.10
  • what are you trying to achieve
    I would like GitHub enterprise integration Code Analysis check feature to show code coverage under the “checks” tab of a github pull request. (please review attached screenshots) It is currently reporting bug, vulnerabilities, and code smells, but it just shows blank for code coverage (not even 0). I’m expecting it to appear just like the example shows (
    The code coverage is working for the master branch when I view the project overview.

i’m using the python tool coverage and it successfully uploads the coverage.xml file as seen in the logs.

INFO: Parsing report '/tmp/workspace/my-github-project-redacted/coverage.xml’

  • what have you tried so far to achieve this
    i’ve ensured that the coverage.xml is correct with the appropriate data. i’ve tried additional languages and repos, but I still see the same issue. i’ve re-done the GitHub apps setup as seen in the documentation. I’ve also updated all of the plugins to the latest version.


Your post seems remarkably similar to this one of similar vintage:

Instead of chasing the same rabbit down 2 different holes, I wonder if you would mind following along (contributing?) to the other thread?


Hi, yes it looks like we have the same issue, and it appears to be affecting multiple languages.

A post was split to a new topic: Python coverage at 0%