mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 00:00:49 +00:00
Separate pyenv install, pyenv global, pyenv rehash
This commit is contained in:
parent
acb5f572b2
commit
66ba35817b
1 changed files with 8 additions and 11 deletions
19
.github/workflows/ubuntu_tests.yml
vendored
19
.github/workflows/ubuntu_tests.yml
vendored
|
@ -20,16 +20,13 @@ jobs:
|
|||
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
|
||||
# https://github.com/pyenv/pyenv#installation
|
||||
- run: pwd
|
||||
- env:
|
||||
PYENV_ROOT: /home/runner/work/pyenv/pyenv
|
||||
run: |
|
||||
echo $PYENV_ROOT
|
||||
echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
|
||||
echo $GITHUB_PATH
|
||||
bin/pyenv install ${{ matrix.python-version }}
|
||||
bin/pyenv global ${{ matrix.python-version }}
|
||||
bin/pyenv rehash
|
||||
python --version
|
||||
python -m pip --version
|
||||
#- env:
|
||||
# PYENV_ROOT: /home/runner/work/pyenv/pyenv
|
||||
# run: |
|
||||
# echo $PYENV_ROOT
|
||||
- run: PYENV_ROOT=$(pwd) echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
|
||||
- run: bin/pyenv install ${{ matrix.python-version }}
|
||||
- run: bin/pyenv global ${{ matrix.python-version }}
|
||||
- run: bin/pyenv rehash
|
||||
- run: python --version
|
||||
- run: python -m pip --version
|
||||
|
|
Loading…
Reference in a new issue