From 2b399ebe55265a1773a2e53fb0c62feaf153c9bb Mon Sep 17 00:00:00 2001 From: Israel Fruchter Date: Thu, 20 Jun 2024 11:02:26 +0300 Subject: [PATCH] CI: add integration tests with python 3.13 since we want to start test the alpha/beta version of python refactoring a bit the integration test workflow the action for pyenv we are using isn't really getting updates too much, and trying to switch back to the offical use python action that can now have prerelease python versions also move to test newer scylla version which are not depended on python2 anymore, which was the main reason for using pyenv --- .github/workflows/integration-tests.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 8c364e93a1..b73da099a4 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -16,23 +16,27 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8.17", "3.11.4", "3.12.0b4"] + python-version: ["3.8", "3.11", "3.12", "3.13"] event_loop_manager: ["libev", "asyncio", "asyncore"] exclude: - - python-version: "3.12.0b4" + - python-version: "3.13" + event_loop_manager: "asyncore" + - python-version: "3.13" event_loop_manager: "asyncore" steps: - - uses: actions/checkout@v3 - - name: setup pyenv ${{ matrix.python-version }} - uses: "gabrielfalcao/pyenv-action@v16" + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + name: Install Python with: - default: 2.7.14 - versions: ${{ matrix.python-version }} + python-version: "${{ matrix.python_version }}" + allow-prereleases: true + - name: Test with pytest run: | export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }} - export SCYLLA_VERSION='release:5.1' + export SCYLLA_VERSION='release:5.4' ./ci/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/ - name: Test tablets