fix: build_yaml_code_coverage_v1 Temp 디렉토리 없을 때 FileNotFoundError 수정
CI checkout에 Temp/ 디렉토리가 없어서 json 출력 실패. write_text 전에 mkdir(parents=True) 추가. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -161,6 +161,7 @@ def main() -> int:
|
|||||||
"rows": rows,
|
"rows": rows,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
out_path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
out_path.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
out_path.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
||||||
print(
|
print(
|
||||||
f"[YAML_TO_CODE_COVERAGE_V1] total={len(all_spec_ids)} "
|
f"[YAML_TO_CODE_COVERAGE_V1] total={len(all_spec_ids)} "
|
||||||
|
|||||||
Reference in New Issue
Block a user