Skip to content

Commit d2295c0

Browse files
committed
Do not activate virtualenv
1 parent b65a7ac commit d2295c0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/wheels-test.ps1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ if ("$venv" -like "*\cibw-run-*\pp*-win_amd64\*") {
99
C:\vc_redist.x64.exe /install /quiet /norestart | Out-Null
1010
}
1111
$env:path += ";$pillow\winbuild\build\bin\"
12-
& "$venv\Scripts\activate.ps1"
1312
& reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" /v "GlobalFlag" /t REG_SZ /d "0x02000000" /f
1413
if ("$venv" -like "*\cibw-run-*-win_amd64\*") {
15-
& python -m pip install numpy
14+
& $venv\Scripts\python.exe -m pip install numpy
1615
}
1716
cd $pillow
18-
& python -VV
17+
& $venv\Scripts\python.exe -VV
1918
if (!$?) { exit $LASTEXITCODE }
20-
& python selftest.py
19+
& $venv\Scripts\python.exe selftest.py
2120
if (!$?) { exit $LASTEXITCODE }
22-
& python -m pytest -vx Tests\check_wheel.py
21+
& $venv\Scripts\python.exe -m pytest -vx Tests\check_wheel.py
2322
if (!$?) { exit $LASTEXITCODE }
24-
& python -m pytest -vx Tests
23+
& $venv\Scripts\python.exe -m pytest -vx Tests
2524
if (!$?) { exit $LASTEXITCODE }

0 commit comments

Comments
 (0)