From f1c1d14d484f882995a7b40298cadb0cb7775d97 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Tue, 5 May 2026 18:24:19 -0400 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20single-precision=20CI=20=E2=80=94=20?= =?UTF-8?q?pass=20$PRECISION=20to=20Test=20step,=20use=20mpi=20build,=20re?= =?UTF-8?q?move=20Example=20skip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 5 +++-- toolchain/mfc/test/test.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d9d677700..bfda53f87c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -172,7 +172,7 @@ jobs: include: - os: ubuntu - mpi: no-mpi + mpi: mpi precision: single debug: no-debug intel: false @@ -386,11 +386,12 @@ jobs: - name: Test if: '!matrix.nvhpc' run: | - /bin/bash mfc.sh test -v --max-attempts 3 -j $(nproc) $ONLY_CHANGES $TEST_ALL $TEST_PCT + /bin/bash mfc.sh test -v --max-attempts 3 -j $(nproc) $ONLY_CHANGES $TEST_ALL $TEST_PCT $PRECISION env: TEST_ALL: ${{ matrix.mpi == 'mpi' && '--test-all' || '' }} TEST_PCT: ${{ matrix.debug == 'reldebug' && '-% 20' || '' }} ONLY_CHANGES: ${{ github.event_name == 'pull_request' && '--only-changes' || '' }} + PRECISION: ${{ matrix.precision != '' && format('--{0}', matrix.precision) || '' }} # ── NVHPC build + test (via docker exec into long-lived container) ── - name: Build (NVHPC) diff --git a/toolchain/mfc/test/test.py b/toolchain/mfc/test/test.py index 5e0d90d244..3f8637e36b 100644 --- a/toolchain/mfc/test/test.py +++ b/toolchain/mfc/test/test.py @@ -176,7 +176,7 @@ def __filter(cases_) -> typing.Tuple[typing.List[TestCase], typing.List[TestCase for case in cases[:]: if ARG("single"): - skip = ["low_Mach", "Hypoelasticity", "teno", "Chemistry", "Phase Change model 6", "Axisymmetric", "Transducer", "Transducer Array", "Cylindrical", "HLLD", "Example"] + skip = ["low_Mach", "Hypoelasticity", "teno", "Chemistry", "Phase Change model 6", "Axisymmetric", "Transducer", "Transducer Array", "Cylindrical", "HLLD"] if any(label in case.trace for label in skip): cases.remove(case) skipped_cases.append(case) From 84ffb7ad4641baf6e34f718a57e40e9090f1a6bd Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Tue, 5 May 2026 18:30:33 -0400 Subject: [PATCH 2/2] revert: restore Example to single-precision skip list (case-sensitive mismatch with example dir names) --- toolchain/mfc/test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/mfc/test/test.py b/toolchain/mfc/test/test.py index 3f8637e36b..5e0d90d244 100644 --- a/toolchain/mfc/test/test.py +++ b/toolchain/mfc/test/test.py @@ -176,7 +176,7 @@ def __filter(cases_) -> typing.Tuple[typing.List[TestCase], typing.List[TestCase for case in cases[:]: if ARG("single"): - skip = ["low_Mach", "Hypoelasticity", "teno", "Chemistry", "Phase Change model 6", "Axisymmetric", "Transducer", "Transducer Array", "Cylindrical", "HLLD"] + skip = ["low_Mach", "Hypoelasticity", "teno", "Chemistry", "Phase Change model 6", "Axisymmetric", "Transducer", "Transducer Array", "Cylindrical", "HLLD", "Example"] if any(label in case.trace for label in skip): cases.remove(case) skipped_cases.append(case)