Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Nov 9, 2024
1 parent a2bcbcb commit 29a1e37
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,37 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: See PATH PowerShell
run: python -c 'import os; print(os.environ["PATH"])'

- name: See PATH Bash
run: bash -c 'echo $PATH'

- name: Install UV
run: curl -LsSf https://github.com/astral-sh/uv/releases/latest/download/uv-installer.sh | sh

- name: See dir
run: bash -c 'ls -la $HOME/.local/bin'

- name: Inspect PowerShell
run: |-
python -c 'import shutil; print(shutil.which("uv"))'
python -c 'import os; print(os.environ["PATH"])'
- name: Inspect Bash
run: |-
bash -c 'which uv'
bash -c 'echo $PATH'
- name: Try PowerShell
if: runner.os == 'Windows'
run: C:\Users\runneradmin\.local\bin\uv.exe --version

- name: Try Bash
if: runner.os != 'Windows'
run: |-
bash -c '$HOME/.local/bin/uv${{ runner.os == 'Windows' && '.exe' || '' }} --version'
- name: Install ourself
run: |
uv pip install --system -e .
Expand Down

0 comments on commit 29a1e37

Please sign in to comment.