Add release quality gate workflow

This commit is contained in:
732642856
2026-06-24 15:17:40 +08:00
parent 408b3bf5c1
commit dec62c450a
6 changed files with 90 additions and 1 deletions
+15
View File
@@ -553,6 +553,21 @@ def test_release_quality_gate_tracks_untracked_product_files() -> None:
assert path in quality_gate.RELEASE_CRITICAL_UNTRACKED_PATHS
def test_github_release_quality_gate_runs_browser_release_profile() -> None:
workflow = (ROOT / ".github" / "workflows" / "release-quality-gate.yml").read_text(encoding="utf-8")
for token in [
"workflow_dispatch",
"pull_request",
"python-version: '3.11'",
"node-version: '20'",
"npm ci --prefix jyotish-app",
"python -m pip install playwright",
"python -m playwright install --with-deps chromium",
"python scripts/run_quality_gate.py --profile release --frontend-click-timeout 240",
]:
assert token in workflow
def test_auth_and_subscription_failures_have_recovery_guidance() -> None:
auth = read("auth.js")
subscription = read("subscription.js")