fb33b0647f
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 49s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 2m28s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 2m33s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m45s
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
- pytest.ini 添加 packages 到 pythonpath,修复 from shared.* 导入失败 - test_audio_merger_security.py: isort + black 格式化 + 修复E741模糊变量名 - test_tech_debt_security_round2.py: isort + black 格式化
9 lines
348 B
INI
Executable File
9 lines
348 B
INI
Executable File
[pytest]
|
|
pythonpath = . apps/api apps/worker packages
|
|
testpaths = tests
|
|
|
|
# ===== 覆盖率配置 =====
|
|
# 覆盖率统计范围(供 --cov 使用时的默认源)
|
|
# 注意:addopts 不默认开启 --cov,避免影响本地开发调试
|
|
# CI 中通过命令行参数显式开启:--cov=apps --cov-report=term --cov-report=xml --cov-fail-under=50
|