Skip to content

Commit e6c5142

Browse files
authored
Add numpy install to windows conda tests (#1684)
1 parent 0816ae7 commit e6c5142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windows/internal/smoke_test.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if errorlevel 1 exit /b 1
5454

5555
set "PATH=%CD%\Python%PYTHON_VERSION%\Scripts;%CD%\Python;%PATH%"
5656

57-
pip install -q numpy protobuf
57+
pip install -q numpy protobuf
5858
if errorlevel 1 exit /b 1
5959

6060
for /F "delims=" %%i in ('where /R "%PYTORCH_FINAL_PACKAGE_DIR:/=\%" *.whl') do pip install "%%i"
@@ -87,7 +87,7 @@ set "PATH=%CONDA_HOME%;%CONDA_HOME%\scripts;%CONDA_HOME%\Library\bin;%PATH%"
8787

8888
conda create -qyn testenv python=%DESIRED_PYTHON%
8989
if errorlevel 1 exit /b 1
90-
call conda install -yq conda-build
90+
call conda install -yq conda-build numpy
9191
if errorlevel 1 exit /b 1
9292
call %CONDA_HOME%\condabin\activate.bat testenv
9393
if errorlevel 1 exit /b 1

0 commit comments

Comments
 (0)