mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Update ubuntu_tests.yml
This commit is contained in:
parent
9e4ead1f93
commit
c20aad5ef9
1 changed files with 10 additions and 8 deletions
18
.github/workflows/ubuntu_tests.yml
vendored
18
.github/workflows/ubuntu_tests.yml
vendored
|
@ -20,13 +20,15 @@ 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
|
||||
- run: bin/pyenv install ${{ matrix.python-version }}
|
||||
- run: bin/pyenv global ${{ matrix.python-version }}
|
||||
- run: bin/pyenv rehash
|
||||
#- env:
|
||||
# PYENV_ROOT: /home/runner/work/pyenv/pyenv
|
||||
# run: |
|
||||
# echo $PYENV_ROOT
|
||||
# echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
|
||||
- run: PYENV_ROOT=$(pwd) echo "$PYENV_ROOT/shims:$PYENV_ROOT/bin" >> $GITHUB_PATH
|
||||
- run: |
|
||||
bin/pyenv install ${{ matrix.python-version }}
|
||||
bin/pyenv global ${{ matrix.python-version }}
|
||||
bin/pyenv rehash
|
||||
- run: python --version
|
||||
- run: python -m pip --version
|
||||
|
|
Loading…
Reference in a new issue