Skip to content

Commit 4512780

Browse files
committed
fix: activate venv on windows
1 parent 89fc6f7 commit 4512780

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,14 @@ jobs:
4242
enable-cache: true
4343
- name: Sync
4444
run: uv sync --all-extras
45-
- name: test
46-
run: uv run scripts/test
45+
- name: Test
46+
# Windows doesn't like uv run when pointed at a script 🤷‍♀️
47+
run: |
48+
if [ "$RUNNER_OS" == "Windows" ]; then
49+
source .venv/bin/activate && scripts/test
50+
else
51+
uv run scripts/test
52+
fi
4753
shell: bash
4854
env:
4955
TMPDIR: "${{ matrix.os == 'windows-latest' && 'D:\\a\\_temp' || '' }}"

0 commit comments

Comments
 (0)