From 6516353fc4fab39bb3e35d22931f347abc9b3ee2 Mon Sep 17 00:00:00 2001 From: Israel Fruchter Date: Tue, 17 Dec 2024 23:23:39 +0200 Subject: [PATCH] github actions: enable the correct python version seems like `pyenv-action` we don't end up using the correct python version as we expected, and the tests are running multiple time with the default python version of the runner --- .github/workflows/integration-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index aac67ce17..446e30428 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -42,12 +42,14 @@ jobs: - name: Test with pytest run: | + pyenv global ${{ matrix.python-version }} export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }} export SCYLLA_VERSION='release:5.1' ./scripts/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/ - name: Test tablets run: | + pyenv global ${{ matrix.python-version }} export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }} export SCYLLA_VERSION='release:6.0.2' ./scripts/run_integration_test.sh tests/integration/experiments/