Skip to content

Commit

Permalink
SNOW-954998 install awscli inside venv (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aszczepankiewicz authored Oct 31, 2023
1 parent ef67556 commit 892baf4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci/test_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@echo off
setlocal
if not defined GITHUB_ACTIONS (
set "path=C:\Program Files\7-Zip;C:\Python37;C:\python37\scripts;%path%"
set "path=C:\Program Files\7-Zip;%path%"
)
set scriptdir=%~dp0
set curdir=%cd%
Expand Down Expand Up @@ -87,12 +87,14 @@ exit /b 0
:init_python
@echo off
echo === creating venv
python -m venv venv
py -3.7 -m venv venv
call venv\scripts\activate
python -m pip install -U pip > nul 2>&1
if %ERRORLEVEL% NEQ 0 goto :error
pip install snowflake-connector-python > nul 2>&1
if %ERRORLEVEL% NEQ 0 goto :error
python -m pip install -U awscli > nul 2>&1
if %ERRORLEVEL% NEQ 0 goto :error
exit /b 0

:create_schema
Expand Down

0 comments on commit 892baf4

Please sign in to comment.