Skip to content

Commit d9d036b

Browse files
committed
Try to fix source command on Windows
1 parent 550efba commit d9d036b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/windows-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ jobs:
4141
- name: "Install dependencies"
4242
env:
4343
UV_CACHE_DIR: ~\AppData\Local\uv\Cache
44+
VIRTUAL_ENV: ~\AppData\Local\.venv
4445
run: |
4546
irm https://astral.sh/uv/install.ps1 | iex
46-
uv venv "~\AppData\Local\.venv"
47-
"~\AppData\Local\.venv\Scripts\activate.ps1"
48-
uv pip install --upgrade --editable ".[dev]"
47+
uv venv ${{ env.VIRTUAL_ENV }}
48+
"${{ env.VIRTUAL_ENV }}/Scripts\Activate.ps1"
49+
uv pip install --upgrade --editable .[dev]
4950
5051
- name: "Run tests"
5152
run: |

0 commit comments

Comments
 (0)