File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ SAM_CLI_TELEMETRY ?= 0
88init :
99 @if [ " $$ GITHUB_ACTIONS" = " true" ]; then \
1010 command -v uv > /dev/null 2>&1 || pip install uv==0.9.1; \
11- SAM_CLI_DEV=1 uv pip install --system --break-system-packages --python " $$ (uv python find $$ UV_PYTHON)" -e ' .[dev]' ; \
11+ SAM_CLI_DEV=1 uv pip install --system --break-system-packages --python " $$ (uv python find $$ UV_PYTHON --managed-python )" -e ' .[dev]' ; \
1212 else \
1313 SAM_CLI_DEV=1 pip install -e ' .[dev]' ; \
1414 fi
1515
1616# Set up a pytest venv with test dependencies (cross-platform)
1717setup-pytest :
18- @if [ " $$ {RUNNER_OS:-$$ (uname) }" = " Windows" ]; then \
18+ @if [ " $$ {RUNNER_OS:-}" = " Windows" ]; then \
1919 VENV_DIR=" $$ USERPROFILE/pytest" ; \
2020 python -m venv " $$ VENV_DIR" ; \
2121 VENV_PY=" $$ VENV_DIR/Scripts/python.exe" ; \
You can’t perform that action at this time.
0 commit comments