mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-29 09:02:51 -05:00
Update ubuntu_tests.yml
This commit is contained in:
parent
c8bbc481ee
commit
604cd77d26
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ubuntu_tests.yml
vendored
5
.github/workflows/ubuntu_tests.yml
vendored
|
@ -17,12 +17,13 @@ jobs:
|
||||||
# https://github.com/pyenv/pyenv#installation
|
# https://github.com/pyenv/pyenv#installation
|
||||||
- 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 bin/pyenv 1>/dev/null 2>&1; then\n eval "$(bin/pyenv init -)"\nfi' >> ~/.bash_profile
|
||||||
- run: |
|
- run: |
|
||||||
sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
|
sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
|
||||||
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
|
||||||
- run: cd $(bin/pyenv root) && git pull
|
- run: cd $(bin/pyenv root) && git pull || true
|
||||||
|
- run: git pull
|
||||||
- run: bin/pyenv install ${{ matrix.python-version }}
|
- run: bin/pyenv install ${{ matrix.python-version }}
|
||||||
- run: bin/pyenv global ${{ matrix.python-version }}
|
- run: bin/pyenv global ${{ matrix.python-version }}
|
||||||
- run: bin/pyenv rehash
|
- run: bin/pyenv rehash
|
||||||
|
|
Loading…
Reference in a new issue