From 8a1efbe78f2da67eb5a37868428479f9f73eb8e2 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 53d486627..bcf617fd0 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -35,12 +35,14 @@ jobs: versions: ${{ matrix.python-version }} - name: Test with pytest run: | + pyenv global ${{ matrix.python-version }} export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }} export SCYLLA_VERSION='release:5.4' ./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/