Skip to content

Commit 8a33463

Browse files
committed
CI: switch to pyenv for better python2 support
since we need to run older versions of scylla with cqlsh that only support python2, we need a way to still have python2 available
1 parent 7a10332 commit 8a33463

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

‎.github/workflows/integration-tests.yml‎

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,38 +18,39 @@ jobs:
1818
matrix:
1919
include:
2020
- os: ubuntu-latest
21-
python-version: "3.8"
21+
python-version: "3.8.16"
2222
event_loop_manager: "libev"
2323

2424
- os: ubuntu-latest
25-
python-version: "3.8"
25+
python-version: "3.8.16"
2626
event_loop_manager: "asyncio"
2727

2828
- os: ubuntu-latest
29-
python-version: "3.8"
29+
python-version: "3.8.16"
3030
event_loop_manager: "asyncore"
3131

3232
- os: ubuntu-latest
33-
python-version: "3.11"
33+
python-version: "3.11.1"
3434
event_loop_manager: "libev"
3535

3636
- os: ubuntu-latest
37-
python-version: "3.11"
37+
python-version: "3.11.1"
3838
event_loop_manager: "asyncio"
3939

4040
- os: ubuntu-latest
41-
python-version: "3.11"
41+
python-version: "3.11.1"
4242
event_loop_manager: "asyncore"
4343

4444
- os: ubuntu-latest
45-
python-version: "3.12"
45+
python-version: "3.12.0"
4646
event_loop_manager: "libev"
4747
steps:
4848
- uses: actions/checkout@v3
49-
- name: Set up Python ${{ matrix.python-version }}
50-
uses: actions/setup-python@v4
49+
- name: setup pyenv ${{ matrix.python-version }}
50+
uses: "gabrielfalcao/pyenv-action@v11"
5151
with:
52-
python-version: ${{ matrix.python-version }}
52+
default: 2.7.14
53+
versions: ${{ matrix.python-version }}
5354
- name: Test with pytest
5455
run: |
5556
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}

0 commit comments

Comments
 (0)