Description
I’m trying to get coverage reports into codecov from Open Policy Agent coverage reports ( Open Policy Agent | Policy Testing ). As these are not natively supported from what I can tell I have converted that report into the format described in your docs as “JSON report format”.
The file I’m sending in looks like this:
{“coverage”:{“filename”:{“src/main/rego/policy.rego”:{“7”:1,“9”:1,“10”:1,“13”:1,“14”:1,“15”:1,“16”:1,“19”:1,“20”:1,“21”:1,“22”:1,“25”:1,“26”:1,“27”:1,“30”:1,“31”:1,“32”:1,“33”:1,“36”:1,“37”:1,“45”:1,“46”:1,“49”:1,“50”:1,“53”:1,“54”:1,“57”:1,“58”:1,“61”:1,“62”:1,“65”:1,“66”:1,“67”:1,“70”:1,“71”:1,“74”:1,“75”:1,“78”:1,“79”:1,“82”:1,“83”:1,“84”:1,“87”:1,“88”:1,“89”:1,“92”:1,“93”:1,“94”:1}}}}
and is sent in without any errors reported
==> Reading reports
+ /Users/anderseknert/git/opa/opa-kafka-plugin/build/reports/opa/opa-codecov-coverage.json bytes=391
Yet, this file never shows up in the codecov UI for my project. Anything obvious I’m missing?
Repository
Versions
Mac OS, Firefox
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.