From b81036281d692787fcefb4a5b98098f9923e9ea5 Mon Sep 17 00:00:00 2001 From: gravermistakes Date: Mon, 19 Oct 2026 17:03:04 -0700 Subject: [PATCH] ci: fail M3a integration on tcltest failures --- .github/workflows/m3a-statistical.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/m3a-statistical.yml b/.github/workflows/m3a-statistical.yml index 8978468..0974e4a 100644 --- a/.github/workflows/m3a-statistical.yml +++ b/.github/workflows/m3a-statistical.yml @@ -35,4 +35,8 @@ jobs: run: Rscript core/src/economy/sims/statistical/tests.R - name: Run M2 → M3a → Hub integration - run: tclsh core/src/economy/sims/statistical/integration.test + shell: bash + run: | + set -euo pipefail + 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