Skip to content

Commit

Permalink
Fix more paths
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Jun 5, 2024
1 parent 935fe4b commit e8134ec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,24 +79,21 @@ jobs:
if: startsWith( matrix.os, 'windows')
run: |
pip install --user virtualenvwrapper-win
echo "WORKON_HOME=$HOME/.virtualenvs" >> $GITHUB_ENV
echo "WORKON_HOME=$USERPROFILE/.virtualenvs" >> $GITHUB_ENV
shell: bash

- name: Install pyenv
if: startsWith( matrix.os, 'windows')
run: |
choco install pyenv-win -y
echo "PATH=$PATH;$USERPROFILE/.pyenv/pyenv-win/bin" >> $GITHUB_ENV
echo "PATH=$PATH;$USERPROFILE/.pyenv/pyenv-win/shims" >> $GITHUB_ENV
echo "PATH=$PATH;$USERPROFILE/.pyenv/pyenv-win/bin;$USERPROFILE/.pyenv/pyenv-win/shims" >> $GITHUB_ENV
echo "PYENV_ROOT=$USERPROFILE/.pyenv/pyenv-win" >> $GITHUB_ENV
shell: bash

- name: Install pyenv and pyenv-virtualenv
if: startsWith( matrix.os, 'ubuntu') || startsWith( matrix.os, 'macos')
run: |
curl https://pyenv.run | bash
ls -a $HOME/.pyenv/plugins/pyenv-virtualenv
git clone https://github.com/pyenv/pyenv-virtualenv.git $HOME/.pyenv/plugins/pyenv-virtualenv
echo "PYENV_ROOT=$HOME/.pyenv" >> $GITHUB_ENV
echo "PATH=$HOME/.pyenv/bin:$PATH" >> $GITHUB_ENV
shell: bash
Expand Down

0 comments on commit e8134ec

Please sign in to comment.