Skip to content

Commit

Permalink
CI: add integration tests with python 3.13
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fruch committed Jun 20, 2024
1 parent f15e502 commit 2b399eb
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b399eb

Please sign in to comment.