Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Nov 5, 2024
1 parent 87ea580 commit 89408f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests-with-pydebug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ jobs:
shell: pwsh
run: |
$Env:PYENV_ROOT = "$Env:USERPROFILE\.pyenv"
$Env:PATH = "$Env:PYENV_ROOT\pyenv-win\bin;$Env:PYENV_ROOT\pyenv-win\shims;$Env:PATH"
$Env:PATH = "$(Get-Location)\venv\Scripts;$Env:PATH"
git clone https://github.com/pyenv-win/pyenv-win.git "$Env:PYENV_ROOT"
Write-Output "PYENV_ROOT=$Env:PYENV_ROOT" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
Write-Output "PATH=$Env:PYENV_ROOT\pyenv-win\bin;$Env:PYENV_ROOT\pyenv-win\shims;$Env:PATH" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
Write-Output "PATH=$Env:PATH" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
- name: Determine Python version
shell: bash
Expand Down Expand Up @@ -196,9 +198,7 @@ jobs:
"${PYTHON}" -m venv venv
ls -alh venv/Scripts
export PYTHON="${PYTHON}.exe"
export PATH="${PWD}/venv/Scripts:${PATH}"
echo "PYTHON=${PYTHON}" | tee -a "${GITHUB_ENV}"
echo "PATH=${PATH}" | tee -a "${GITHUB_ENV}"
fi
"${PYTHON}" --version
Expand Down

0 comments on commit 89408f8

Please sign in to comment.