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 Nov 10, 2024
1 parent c606371 commit f0ef082
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,29 @@ 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'
./scripts/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/
- name: Test tablets
run: |
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
Expand Down

0 comments on commit f0ef082

Please sign in to comment.