removed coverage from each file since now we have

the file pointed by the comment, moved the coverage to the metadata
This commit is contained in:
Karma Riuk
2025-03-20 14:01:43 +01:00
parent adc62867ff
commit a0e17b62bb

View File

@ -5,7 +5,6 @@ import json
@dataclass @dataclass
class FileData: class FileData:
path: str path: str
coverage: float = -1 # coverage of the file, default -1, is different if we get to the jacoco part of the pipeline
content: str = "" # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh) content: str = "" # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh)
@dataclass @dataclass
@ -13,7 +12,8 @@ class Metadata:
repo: str # the name of the repo, with style XXX/YYY repo: str # the name of the repo, with style XXX/YYY
pr_number: int pr_number: int
merge_commit_sha: str # to checkout for the tests merge_commit_sha: str # to checkout for the tests
comment_path : str commented_file : str
commented_file_coverage: float = 0
successful: bool = True successful: bool = True
build_system: str = "" build_system: str = ""
reason_for_failure: str = "" reason_for_failure: str = ""