From f9a0bfbe910cdadecc4a65c28fc7154a99de4b2e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 27 Jan 2021 11:52:12 +0100 Subject: [PATCH] bin/pyenv global ${{ matrix.python-version }} --- .github/workflows/ubuntu_tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu_tests.yml b/.github/workflows/ubuntu_tests.yml index 89b5b2cb..33349cac 100644 --- a/.github/workflows/ubuntu_tests.yml +++ b/.github/workflows/ubuntu_tests.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [2.7.18, 3.4.10, 3.5.10, 3.6.12, 3.7.9, 3.8.7, 3.9.1] + python-version: [2.7.6, 2.7.18, 3.4.10, 3.5.10, 3.6.12, 3.7.9, 3.8.7, 3.9.1] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -23,3 +23,12 @@ jobs: libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \ xz-utils tk-dev libffi-dev liblzma-dev python-openssl git - run: bin/pyenv install ${{ matrix.python-version }} + - run: bin/pyenv global ${{ matrix.python-version }} + - run: bin/pyenv rehash + - run: python --version || true + - run: python -m pip --version || true + - run: python2 --version || true + - run: python2 -m pip --version || true + - run: python3 --version || true + - run: python3 -m pip --version || true +