fix(ci): skip non-ci reproducible wbs tasks
This commit is contained in:
+16
-3
@@ -146,9 +146,22 @@ jobs:
|
||||
# 가능한 것만 나열한다. 실제 KIS API/라이브 앱이 전제인 나머지 DONE 작업은
|
||||
# spec/60의 execution.mode: not_ci_reproducible 로 별도 표시되어
|
||||
# validate_quant_engine_wbs_v1.py 가 verdict 부재를 FAIL로 취급하지 않는다.
|
||||
for task in QE-M0-01 QE-M0-02 QE-M0-03 QE-M0-04 QE-M0-05 QE-M0-06 QE-M0-07 QE-M1-05 QE-M1-06 QE-M2-01 QE-M2-03 QE-M2-06 QE-M3-01 QE-M3-02 QE-M3-03 QE-M3-04 QE-M3-05; do
|
||||
python3 tools/verify_wbs_task_v1.py --task "$task"
|
||||
done
|
||||
python3 - <<'PY'
|
||||
from pathlib import Path
|
||||
import subprocess
|
||||
import yaml
|
||||
|
||||
root = Path.cwd()
|
||||
spec = yaml.safe_load((root / "spec" / "60_quant_engine_wbs.yaml").read_text(encoding="utf-8"))
|
||||
tasks = spec.get("tasks") or {}
|
||||
for task_id, task in tasks.items():
|
||||
if task.get("status") != "DONE":
|
||||
continue
|
||||
mode = ((task.get("execution") or {}).get("mode"))
|
||||
if mode in {"not_ci_reproducible", "manual_user_action"}:
|
||||
continue
|
||||
subprocess.run(["python3", "tools/verify_wbs_task_v1.py", "--task", task_id], check=True, cwd=root)
|
||||
PY
|
||||
|
||||
- name: Validate Quant Engine WBS
|
||||
run: python3 tools/validate_quant_engine_wbs_v1.py
|
||||
|
||||
Reference in New Issue
Block a user