Skip to content

Commit e1ab973

Browse files
fruchdkropachev
authored andcommitted
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
1 parent 5370b6c commit e1ab973

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

.github/workflows/integration-tests.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,40 @@ jobs:
1212
tests:
1313
name: test ${{ matrix.event_loop_manager }} (${{ matrix.python-version }})
1414
if: "!contains(github.event.pull_request.labels.*.name, 'disable-integration-tests')"
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-20.04
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.8.17", "3.11.4", "3.12.0b4"]
19+
java-version: [8]
20+
python-version: ["3.8", "3.11", "3.12", "3.13"]
2021
event_loop_manager: ["libev", "asyncio", "asyncore"]
2122
exclude:
22-
- python-version: "3.12.0b4"
23+
- python-version: "3.12"
24+
event_loop_manager: "asyncore"
25+
- python-version: "3.13"
2326
event_loop_manager: "asyncore"
2427

2528
steps:
26-
- uses: actions/checkout@v3
27-
- name: setup pyenv ${{ matrix.python-version }}
28-
uses: "gabrielfalcao/pyenv-action@v16"
29+
- uses: actions/checkout@v4
30+
31+
- uses: actions/setup-python@v5
32+
name: Install Python ${{ matrix.python-version }}
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
allow-prereleases: true
36+
37+
- name: Set up JDK ${{ matrix.java-version }}
38+
uses: actions/setup-java@v4
2939
with:
30-
default: 2.7.14
31-
versions: ${{ matrix.python-version }}
40+
java-version: ${{ matrix.java-version }}
41+
distribution: 'adopt'
42+
3243
- name: Test with pytest
3344
run: |
3445
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
35-
export SCYLLA_VERSION='release:5.1'
46+
export SCYLLA_VERSION='release:5.4'
3647
./scripts/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/
37-
48+
3849
- name: Test tablets
3950
run: |
4051
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}

0 commit comments

Comments
 (0)