Skip to content

Fix source: not found error in test-cuda workflow#44

Merged
chamalgomes merged 2 commits intomainfrom
copilot/fix-venv-activation-error
Feb 25, 2026
Merged

Fix source: not found error in test-cuda workflow#44
chamalgomes merged 2 commits intomainfrom
copilot/fix-venv-activation-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 25, 2026

GitHub Actions defaults to sh for run blocks, which doesn't include source as it's a bash builtin. The "Install Python" step in test-cuda.yaml was failing with exit code 127 as a result.

Change

Added shell: bash to the "Install Python" step:

- name: Install Python
  shell: bash
  run: |
    uv venv --python ${{ matrix.pyver }}
    source .venv/bin/activate

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: chamalgomes <106123134+chamalgomes@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix venv activation error in GitHub workflow Fix source: not found error in test-cuda workflow Feb 25, 2026
@chamalgomes chamalgomes marked this pull request as ready for review February 25, 2026 23:38
Copilot AI review requested due to automatic review settings February 25, 2026 23:38
@chamalgomes chamalgomes merged commit 508a4d6 into main Feb 25, 2026
@chamalgomes chamalgomes deleted the copilot/fix-venv-activation-error branch February 25, 2026 23:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a GitHub Actions workflow failure in the CUDA test build by ensuring the Install Python step runs under bash, so the source builtin is available inside the containerized job environment.

Changes:

  • Set shell: bash for the “Install Python” step in the CUDA workflow to avoid source: not found (exit code 127).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants