From b3b50272583dd211f0d9e3c153fd4590d7c25a60 Mon Sep 17 00:00:00 2001 From: Ivan Basov Date: Mon, 9 Mar 2026 12:17:43 -0700 Subject: [PATCH] ci: add shell: bash to steps using PIPESTATUS PIPESTATUS is bash-specific; ubuntu:24.04 containers default to sh, causing "Bad substitution" on the mid-gpu-tests job. Add shell: bash to all affected steps across ci-gpu.yml and long-running-tests.yml. --- .github/workflows/ci-gpu.yml | 1 + .github/workflows/long-running-tests.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci-gpu.yml b/.github/workflows/ci-gpu.yml index c1d647c..48fc61d 100644 --- a/.github/workflows/ci-gpu.yml +++ b/.github/workflows/ci-gpu.yml @@ -142,6 +142,7 @@ jobs: pip install -r code/requirements_public_train.txt - name: Mid-tier training + inference with LER check (32k train, 2 epochs) + shell: bash run: | . .venv_mid/bin/activate bash code/scripts/smoke_run.sh 2>&1 | tee /tmp/ci_mid.log diff --git a/.github/workflows/long-running-tests.yml b/.github/workflows/long-running-tests.yml index e21e3fa..b454b35 100644 --- a/.github/workflows/long-running-tests.yml +++ b/.github/workflows/long-running-tests.yml @@ -175,6 +175,7 @@ jobs: python -c "import torch; assert torch.cuda.is_available(), 'CUDA not available'" - name: Multi-orientation inference (O1–O4) with LER output check + shell: bash run: | . .venv/bin/activate ORIENTATIONS_LONG_TASK=inference bash code/scripts/run_orientations_long.sh 2>&1 | tee /tmp/orient_inference.log @@ -299,6 +300,7 @@ jobs: python -c "import torch; assert torch.cuda.is_available(), 'CUDA not available'" - name: Full 1-epoch training + inference with LER validation + shell: bash run: | . .venv/bin/activate bash code/scripts/smoke_run.sh 2>&1 | tee /tmp/ci_full_epoch.log