ci: clean b5 test bytecode artifacts
All checks were successful
Code Review / ai-code-review (push) Successful in 12s

This commit is contained in:
Your Name
2026-05-20 12:55:28 +08:00
parent 6e5d68eebc
commit 89f397594e

View File

@@ -257,7 +257,9 @@ jobs:
/opt/api-venv/bin/pytest tests/integration/test_b5_core_flows.py -v --tb=short -m integration || PYTEST_EXIT=$?
# 清理
docker rm -f pg-test-b5 || true
find tests/integration -type d -name __pycache__ -prune -exec rm -rf {} + 2>/dev/null || true
# 2026-05-20 Codex: B5 imports shared tests helpers, so cleanup the
# whole tests tree to avoid root-owned __pycache__ act-runner noise.
find tests -type d -name __pycache__ -prune -exec rm -rf {} + 2>/dev/null || true
exit "${PYTEST_EXIT:-0}"
CI_SCRIPT
docker run --rm \