From c20aad5ef9a0ee3ff993240bd77e20e4569d08a6 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 2 Mar 2021 12:49:09 +0100 Subject: [PATCH] Update ubuntu_tests.yml --- .github/workflows/ubuntu_tests.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ubuntu_tests.yml b/.github/workflows/ubuntu_tests.yml index 5ea9b593..a8bc69ad 100644 --- a/.github/workflows/ubuntu_tests.yml +++ b/.github/workflows/ubuntu_tests.yml @@ -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