Merge branch 'enable-coverage-for-debug-build' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build

This commit is contained in:
Alexey Milovidov 2024-02-09 03:55:53 +01:00
commit d0af9d2740

View File

@ -115,7 +115,9 @@ def read_build_urls(build_name: str, reports_path: Union[Path, str]) -> List[str
for file in files:
if file.endswith(f"_{build_name}.json"):
logging.info("Found build report json %s", file)
with open(os.path.join(root, file), "r", encoding="utf-8") as file_handler:
with open(
os.path.join(root, file), "r", encoding="utf-8"
) as file_handler:
build_report = json.load(file_handler)
return build_report["build_urls"] # type: ignore
return []