ci: enforce complete M3a integration contract

This commit is contained in:
2026-10-19 18:13:49 -07:00
parent 3c0dfeb15d
commit c4d5104421
+4 -1
View File
@@ -13,6 +13,9 @@ on:
pull_request: pull_request:
paths: paths:
- "core/src/economy/sims/statistical/**" - "core/src/economy/sims/statistical/**"
- "core/src/economy/stomach.tcl"
- "core/src/economy/feeds.tcl"
- "core/src/economy/sims/hub.tcl"
- ".github/workflows/m3a-statistical.yml" - ".github/workflows/m3a-statistical.yml"
workflow_dispatch: workflow_dispatch:
@@ -39,4 +42,4 @@ jobs:
run: | run: |
set -euo pipefail set -euo pipefail
tclsh core/src/economy/sims/statistical/integration.test | tee /tmp/m3a-integration.out tclsh core/src/economy/sims/statistical/integration.test | tee /tmp/m3a-integration.out
grep -Eq 'Total[[:space:]]+3[[:space:]]+Passed[[:space:]]+3.*Failed[[:space:]]+0' /tmp/m3a-integration.out grep -Eq 'Total[[:space:]]+5[[:space:]]+Passed[[:space:]]+5.*Failed[[:space:]]+0' /tmp/m3a-integration.out