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
  • Loading branch information
fruch authored and dkropachev committed Aug 15, 2024
1 parent 84f0393 commit 4e6329c
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.12"
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 4e6329c

Please sign in to comment.