Skip to content

Commit 8fc2202

Browse files
authored
fix: correct single-precision CI testing (#1400)
1 parent 35cebdf commit 8fc2202

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172

173173
include:
174174
- os: ubuntu
175-
mpi: no-mpi
175+
mpi: mpi
176176
precision: single
177177
debug: no-debug
178178
intel: false
@@ -386,11 +386,12 @@ jobs:
386386
- name: Test
387387
if: '!matrix.nvhpc'
388388
run: |
389-
/bin/bash mfc.sh test -v --max-attempts 3 -j $(nproc) $ONLY_CHANGES $TEST_ALL $TEST_PCT
389+
/bin/bash mfc.sh test -v --max-attempts 3 -j $(nproc) $ONLY_CHANGES $TEST_ALL $TEST_PCT $PRECISION
390390
env:
391391
TEST_ALL: ${{ matrix.mpi == 'mpi' && '--test-all' || '' }}
392392
TEST_PCT: ${{ matrix.debug == 'reldebug' && '-% 20' || '' }}
393393
ONLY_CHANGES: ${{ github.event_name == 'pull_request' && '--only-changes' || '' }}
394+
PRECISION: ${{ matrix.precision != '' && format('--{0}', matrix.precision) || '' }}
394395

395396
# ── NVHPC build + test (via docker exec into long-lived container) ──
396397
- name: Build (NVHPC)

0 commit comments

Comments
 (0)