From 039b4bdea0d954b468d3d57494b0d48e70788a77 Mon Sep 17 00:00:00 2001 From: Dmitriy Gertsog Date: Thu, 26 Sep 2024 15:26:50 +0300 Subject: [PATCH] ci: fix Python version for tests Fixed CI environment setup with required Python version. Follows up #727 --- .github/actions/prepare-ce-test-env/action.yml | 8 ++++++-- .github/actions/prepare-ee-test-env/action.yml | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/actions/prepare-ce-test-env/action.yml b/.github/actions/prepare-ce-test-env/action.yml index f36f86d73..3f72a1e6f 100644 --- a/.github/actions/prepare-ce-test-env/action.yml +++ b/.github/actions/prepare-ce-test-env/action.yml @@ -24,6 +24,11 @@ runs: with: go-version: '${{ env.GO_VERSION }}' + - name: Setup python + uses: actions/setup-python@v4 + with: + python-version: '${{ env.PYTHON_VERSION }}' + - name: Setup Mage run: | git clone https://github.com/magefile/mage @@ -40,8 +45,7 @@ runs: build-essential ninja-build \ lua5.1 luarocks lcov \ ruby-dev liblz4-dev autoconf \ - automake \ - libtool python3-pytest python3-psutil pip + automake libtool sudo luarocks install luacheck 0.26.1 sudo gem install coveralls-lcov sudo pip3 install tarantool diff --git a/.github/actions/prepare-ee-test-env/action.yml b/.github/actions/prepare-ee-test-env/action.yml index 80d94ba9e..d30c3ee8a 100644 --- a/.github/actions/prepare-ee-test-env/action.yml +++ b/.github/actions/prepare-ee-test-env/action.yml @@ -30,6 +30,11 @@ runs: with: go-version: '${{ env.GO_VERSION }}' + - name: Setup python + uses: actions/setup-python@v4 + with: + python-version: '${{ env.PYTHON_VERSION }}' + - name: Setup Mage run: | git clone https://github.com/magefile/mage