Similar/same issues:
- Cobertura coverage not showing in diff or jobs
- Issues with code coverage (cobertura) visualization in MR
I am unable to see code coverage in Add more tests (!159) · Merge requests · Taylor Smock / Mapillary · GitLab . From #54798, one of the questions asked was “what does the coverage_reports.json look like”:
$ curl 'https://gitlab.com/smocktaylor/Mapillary/-/merge_requests/159/coverage_reports.json' | jq '.files."src/main/java/org/openstreetmap/josm/plugins/mapillary/cache/Caches.java"'
{
"45": 2,
"46": 2,
"49": 2,
"50": 2,
"53": 2,
"54": 2,
"55": 2,
"56": 2,
"57": 2,
"58": 2,
"59": 2,
"61": 2,
"69": 2,
"70": 2,
"71": 2,
"73": 2,
"74": 2,
"75": 2,
"76": 2,
"77": 2,
"80": 2,
"81": 2,
"82": 0,
"83": 0,
"85": 2,
"98": 2,
"109": 2,
"110": 2,
"111": 2,
"112": 2,
"114": 0,
"116": 2,
"124": 0,
"125": 0,
"134": 2,
"144": 2,
"145": 2,
"155": 0,
"156": 0,
"158": 0,
"171": 0,
"172": 0,
"174": 0,
"187": 2,
"188": 0,
"190": 2,
"191": 2,
"194": 2,
"195": 2,
"196": 2,
"197": 2,
"198": 2,
"199": 2,
"200": 2,
"201": 2,
"202": 2,
"203": 2,
"204": 2,
"205": 2,
"206": 2,
"208": 2,
"209": 2,
"219": 2,
"220": 2,
"221": 2,
"222": 2,
"223": 2,
"224": 2,
"225": 2,
"227": 2,
"228": 2,
"229": 2,
"235": 0,
"247": 0,
"248": 0,
"250": 0,
"259": 2
}
Coverage information is there, but it isn’t being used/shown.
-
Firefox 90, Mac OS X
-
Version: gitlab.com
-
Runner: Runner: #2568000 (z3WU8uu-) shared-runners-manager-7 (for the coverage job)
-
Relevant CI configuration: .gitlab-ci.yml · 605ba9f434fe77462da6281d03517b92c3ca9ce3 · Taylor Smock / Mapillary · GitLab