fix(t12): close payment delivery and governance remediation
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled

This commit is contained in:
Hermes Agent
2026-06-15 11:39:31 +08:00
parent 3158bb839c
commit 7fabc23715
35 changed files with 1529 additions and 338 deletions

View File

@@ -61,19 +61,10 @@ jobs:
python --version
pytest --version
- name: Run tests with coverage
# T5.5: 基线门禁 = 整体覆盖率 >=60%,核心覆盖率 >=80%(由 check_coverage_gate.py 校验)
- name: Run unified quality gate
# P1-7: CI 与本地统一走 scripts/dev-verify.sh避免 coverage / lint / mypy 口径漂移
run: |
pytest admin/tests tests data \
--cov=admin \
--cov=data \
--cov=skills \
--cov=scripts \
--cov-report=term-missing \
--cov-report=xml \
--cov-fail-under=60 \
-v
python scripts/check_coverage_gate.py coverage.xml
PYTHON_BIN=python bash scripts/dev-verify.sh
- name: Upload coverage artifact
if: always() && matrix.python-version == '3.11' && hashFiles('coverage.xml') != ''