Add a Code Coverage tab to the Pipeline like Tests

I use a self-hosted version of GitLab CI (13.11.3-ee) against a GitHub repo. I have code coverage enabled and can see the information based off the regex on the job list. What I was hoping to see was something similar to the MR Code Coverage Visualization in the Pipeline. The XML is hard to understand and if you create a report from it, just saying Class:Func() 29% doesn’t really paint the same picture. How can I get the Visualization for Code Coverage to appear in the Pipeline? Can it show up like the Tests tab?

1 Like

@smarks thanks for the post and welcome to the forum!

If you are using Merge Requests the parsed data does appear on the MR Summary as shown below.

Pipeline Widget Coverage

I don’t see an issue to show the parsed data but an iteration of that would likely be the result of this issue to show cobertura coverage data in the CI View. You can always open a new issue as well if your use case is different. Thanks!

-James H, GitLab Product Manager, Verify:Testing