From b587cc865d7c142b2ee62105440dd7b423b14c21 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 12 Apr 2020 13:44:03 +0800 Subject: [PATCH] See if configuring pyenv does the job --- .github/workflows/rust.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 147910a021..8635034db5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,9 +10,19 @@ jobs: build-and-test: runs-on: ubuntu-latest + env: + PYENV_VERSION: "2.7.13" + PYENV_ROOT: $HOME/.pyenv steps: - uses: actions/checkout@v2 + - name: Prepare python + run | + pyenv versions + pyenv install --skip-existing "${PYENV_VERSION}" + pyenv versions + pyenv global "${PYENV_VERSION}" + pyenv version - name: Run tests run: | make test-gen