ci: gate M3e stomach integration

This commit is contained in:
2026-10-23 19:17:40 -07:00
parent aca4f4f1fa
commit c1115d72bd
+11
View File
@@ -6,6 +6,9 @@ on:
- feat/stomach-economic-organ - feat/stomach-economic-organ
paths: paths:
- "core/src/economy/sims/tokenomics/**" - "core/src/economy/sims/tokenomics/**"
- "core/src/economy/stomach.tcl"
- "core/src/economy/feeds.tcl"
- "core/src/economy/sims/hub.tcl"
- ".github/workflows/m3e-tokenomics.yml" - ".github/workflows/m3e-tokenomics.yml"
pull_request: pull_request:
paths: paths:
@@ -33,3 +36,11 @@ jobs:
- name: Run M3e native tests - name: Run M3e native tests
run: /tmp/sica-m3e/test_tokenomics run: /tmp/sica-m3e/test_tokenomics
- name: Run M2 → M3e → Hub integration
shell: bash
working-directory: .
run: |
set -euo pipefail
tclsh core/src/economy/sims/tokenomics/integration.test | tee /tmp/m3e-integration.out
grep -Eq 'Total[[:space:]]+4[[:space:]]+Passed[[:space:]]+4.*Failed[[:space:]]+0' /tmp/m3e-integration.out