ci: 覆盖率汇总脚本支持环境变量门槛,集成测试设为40%
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 50s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1601h45m16s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1601h45m18s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1601h45m18s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1601h45m20s
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1602h16m52s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1602h16m54s

This commit is contained in:
用户CI Test
2026-07-11 21:40:01 +08:00
parent 9ca35ee324
commit e8d95ac1b3
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -4,7 +4,9 @@
import sys
import xml.etree.ElementTree as ET
THRESHOLD = 65 # 行覆盖率门槛,百分比
import os
THRESHOLD = int(os.environ.get("COVERAGE_THRESHOLD", 65)) # 行覆盖率门槛,百分比,可通过环境变量覆盖
def main() -> int: