Skip to content

Commit 11cbce9

Browse files
committed
fix macos
1 parent 0ec0f0a commit 11cbce9

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ jobs:
115115
if: runner.os == 'Windows'
116116
run: |
117117
uv venv .test-venv
118-
.test-venv\Scripts\Activate.ps1
119118
$wheel = (Get-ChildItem rtc-wheel\*.whl)[0].FullName
120-
uv pip install $wheel .\livekit-api .\livekit-protocol
121-
uv pip install pytest pytest-asyncio numpy matplotlib
119+
uv pip install --python .test-venv $wheel .\livekit-api .\livekit-protocol
120+
uv pip install --python .test-venv pytest pytest-asyncio numpy matplotlib
122121
shell: pwsh
123122

124123
- name: Run tests (Unix)
@@ -137,8 +136,6 @@ jobs:
137136
LIVEKIT_URL: ${{ secrets.LIVEKIT_URL }}
138137
LIVEKIT_API_KEY: ${{ secrets.LIVEKIT_API_KEY }}
139138
LIVEKIT_API_SECRET: ${{ secrets.LIVEKIT_API_SECRET }}
140-
run: |
141-
.test-venv\Scripts\Activate.ps1
142-
pytest tests/
139+
run: .test-venv\Scripts\python.exe -m pytest tests/
143140
shell: pwsh
144141

0 commit comments

Comments
 (0)