env: PYENV_ROOT: $HOME"
This commit is contained in:
parent
7c18f8a10c
commit
33335507b0
7
.github/workflows/ubuntu_tests.yml
vendored
7
.github/workflows/ubuntu_tests.yml
vendored
@ -19,14 +19,15 @@ jobs:
|
|||||||
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
|
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
|
||||||
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
|
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
|
||||||
# https://github.com/pyenv/pyenv#installation
|
# https://github.com/pyenv/pyenv#installation
|
||||||
- run: echo "$HOME" >> $PYENV_ROOT
|
|
||||||
- run: echo "$HOME/bin" >> $GITHUB_PATH
|
- run: echo "$HOME/bin" >> $GITHUB_PATH
|
||||||
# - run: echo 'export PYENV_ROOT=$(pwd)' >> ~/.bash_profile
|
# - run: echo 'export PYENV_ROOT=$(pwd)' >> ~/.bash_profile
|
||||||
# - run: echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
# - run: echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
||||||
- run: echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
|
- run: echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
|
||||||
- run: cd $(pyenv root) && git pull || true
|
# - run: cd $(pyenv root) && git pull || true
|
||||||
- run: git pull
|
- run: git pull
|
||||||
- run: |
|
- env:
|
||||||
|
PYENV_ROOT: $HOME"
|
||||||
|
run: |
|
||||||
pyenv install ${{ matrix.python-version }}
|
pyenv install ${{ matrix.python-version }}
|
||||||
pyenv global ${{ matrix.python-version }}
|
pyenv global ${{ matrix.python-version }}
|
||||||
pyenv rehash
|
pyenv rehash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user