ghmarkdown: iterate on clustered checks
(issue
@@ -75,7 +75,10 @@ class GHMarkdownReporter(SerializeReporter):
num_checks = 0
for section in data["sections"]:
num_checks += len(section["checks"])
- for check in section["checks"]:
+ for cluster in section["checks"]:
+ if not isinstance(cluster, list):
+ cluster = [cluster]
+ for check in cluster:
if self.omit_loglevel(check["result"]):
continue
