From 5c41e31d0085b1c738bc26fd23a4ebfd56f85789 Mon Sep 17 00:00:00 2001 From: Israel Fruchter Date: Thu, 12 Oct 2023 17:08:00 +0300 Subject: [PATCH] CI: switch to pyenv for better python2 support since we need to run older versions of scylla with cqlsh that only support python2, we need a way to still have python2 available --- .github/workflows/integration-tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e8fdc44f46..48fb3a4b06 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -46,10 +46,11 @@ jobs: event_loop_manager: "libev" steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - name: setup pyenv ${{ matrix.python-version }} + uses: "gabrielfalcao/pyenv-action@v11" with: - python-version: ${{ matrix.python-version }} + default: 2.7 + versions: ${{ matrix.python-version }} - name: Test with pytest run: | export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}