增加收入分布快照报告与公司明细直达链接

This commit is contained in:
2026-10-30 05:54:51 +08:00
parent 850ed8f9a7
commit 8da38694bc
7 changed files with 238 additions and 2 deletions
+2 -1
View File
@@ -14,7 +14,7 @@ ROOT = Path(__file__).resolve().parents[1]
APP = "endorphin-tabularium-docs"
INPUTS = ["Dockerfile", "Dockerfile.ci", ".dockerignore", ".npmrc", "package.json",
"pnpm-lock.yaml", "pnpm-workspace.yaml", "apps/docs", "content", "tools/figures",
"scripts/check-container.sh", "scripts/ci.py"]
"scripts/check-container.sh", "scripts/ci.py", "scripts/summarize-ai-income.py"]
def run(*args: str, capture: bool = False) -> str:
@@ -63,6 +63,7 @@ def smoke_image(image: str, name: str) -> None:
def main() -> None:
os.chdir(ROOT)
run(sys.executable, "scripts/summarize-ai-income.py", "--check")
run(sys.executable, "-m", "unittest", "discover", "-s", "scripts", "-p", "test_*.py")
scope = os.environ.get("CI_CACHE_SCOPE", "main")
if not re.fullmatch(r"main|pr-[0-9]+", scope):