diff --git a/.github/workflows/m3e-tokenomics.yml b/.github/workflows/m3e-tokenomics.yml index d0796ee..1ce9c68 100644 --- a/.github/workflows/m3e-tokenomics.yml +++ b/.github/workflows/m3e-tokenomics.yml @@ -6,6 +6,9 @@ on: - feat/stomach-economic-organ paths: - "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" pull_request: paths: @@ -33,3 +36,11 @@ jobs: - name: Run M3e native tests 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