文档对齐批:README/CI/配置说明与现行实现对齐(纯文档零代码零跑闸)——①game/README 运行节:数值调整板→调试浮窗(迭代14.5整合批48c0b34/d0a3c6b,main.gd debug_overlay实证)、冒烟55项→752项(fdd32fe批末闸读数)+60.55s实测引用、九探针→十探针补t17_defer_probe(smoke/ roster清点)、supply_scan退役注记(2026-09-15格面资源批已删)②game/tests/README+unit/README:628+→752+断言、九→十探针、七→十五套件(run_all.gd _suites清点)、production/qa→design/qa、docs/→design/dev/(7f24b640三层收敛失效路径修正)③.github/workflows/tests.yml:根tests/路径→game/tests/+--path game(7f24b640后CI路径失效修正)、git未初始化陈述换代④static_scan.sh头注docs/路径同修正⑤sim-data/README历史锚8份→23份(M-4迭代11a/11b/12/14各批锚入库后清点)⑥CLAUDE.md探针行调整板→调试浮窗。均系可从代码/提交记录直接确认项,历史批条目未动
This commit is contained in:
1 parent
8642c2d0bc
commit
9446302e9f
7 files changed
+29
-32
No files matched your search
@@ -1,8 +1,9 @@
|
||||
name: Automated Tests
|
||||
|
||||
# 注意:本仓库 2026-09-12 尚未初始化 git——本 workflow 在首次 push 到 GitHub 后自动生效。
|
||||
# 注意:仓库已初始化 git(尚无远端)——本 workflow 在首次 push 到 GitHub 后自动生效。
|
||||
# 载体 = ADR-0004(双载体):逻辑冒烟 + 场景探针;gdUnit4 deferred(不使用 gdUnit4-action)。
|
||||
# 外部 wall-clock 超时(timeout 命令)为 ADR-0004 硬性要求——引擎自身无死锁探测。
|
||||
# 路径口径:2026-09-27 三层收敛(7f24b640)后工程在 game/——tests 归 game/tests/、探针在 game/smoke/。
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -19,7 +20,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run static scan
|
||||
run: bash tests/static_scan.sh
|
||||
run: bash game/tests/static_scan.sh
|
||||
|
||||
smoke:
|
||||
name: Headless smoke (Godot 4.7.2)
|
||||
@@ -33,15 +34,15 @@ jobs:
|
||||
with:
|
||||
version: 4.7.2
|
||||
|
||||
# 逻辑冒烟(run_all.gd 内登记套件 manifest;正式工程落地后生效)
|
||||
# 逻辑冒烟(run_all.gd 内登记套件 manifest)
|
||||
- name: Run smoke runner (external timeout per ADR-0004)
|
||||
run: timeout 120s godot --headless --script tests/run_all.gd
|
||||
run: timeout 120s godot --headless --path game --script res://tests/run_all.gd
|
||||
|
||||
# 场景探针(正式工程落地后逐条登记,示例形态):
|
||||
# 场景探针(逐条登记,示例形态):
|
||||
# - name: Run UI probes
|
||||
# run: |
|
||||
# timeout 60s godot --headless --path . res://tests/probes/ui_probe.tscn
|
||||
# timeout 60s godot --headless --path . res://tests/probes/ui_click_probe.tscn
|
||||
# timeout 60s godot --headless --path game res://smoke/ui_probe.tscn
|
||||
# timeout 60s godot --headless --path game res://smoke/ui_click_probe.tscn
|
||||
|
||||
- name: Upload Test Results
|
||||
if: always()
|
||||
|
||||
Reference in new issue
Block a user