ci: add shell: bash to steps using PIPESTATUS#12
Merged
Conversation
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.
bmhowe23
approved these changes
Mar 9, 2026
ivanbasov
added a commit
that referenced
this pull request
Apr 10, 2026
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.
ivanbasov
added a commit
that referenced
this pull request
Apr 10, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
mid-gpu-testsjob was failing with:Root cause:
PIPESTATUSis a bash-specific array. GitHub Actionsrun:steps inubuntu:24.04containers default tosh, which does not supportPIPESTATUS, causing "Bad substitution".The
gpu-testsjob already hadshell: bashon the affected step —mid-gpu-testsand both steps inlong-running-tests.ymlwere missing it.Fix
Add
shell: bashto all three affected steps:ci-gpu.yml— Mid-tier training + inference with LER checklong-running-tests.yml— Multi-orientation inference (O1–O4) with LER output checklong-running-tests.yml— Full 1-epoch training + inference with LER validationRef: https://github.com/NVIDIA/quantum-predecoder/actions/runs/22790464172/job/66116526960