在前后端开发联调前 的提交20260223
This commit is contained in:
@@ -17,6 +17,7 @@ from __future__ import annotations
|
||||
import argparse
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import traceback
|
||||
@@ -1148,7 +1149,10 @@ def run_blackbox_check(
|
||||
logger.info("JSON 报告: %s", json_path)
|
||||
|
||||
# 输出 Markdown
|
||||
reports_dir = _FEIQIU_ROOT / "docs" / "reports"
|
||||
_report_root = os.environ.get("ETL_REPORT_ROOT")
|
||||
if not _report_root:
|
||||
raise KeyError("环境变量 ETL_REPORT_ROOT 未定义。请在根 .env 中配置。")
|
||||
reports_dir = Path(_report_root)
|
||||
reports_dir.mkdir(parents=True, exist_ok=True)
|
||||
md_path = reports_dir / f"blackbox_report_{ts}.md"
|
||||
md_content = _generate_markdown_report(report)
|
||||
|
||||
Reference in New Issue
Block a user