Skip to content

Commit ca15903

Browse files
committed
github: bump python and ruby versions
Bump the maximum python version to 3.12 and the maximum ruby version to 3.3 in the GitHub CI. Also bump the setup-python action to v5. Signed-off-by: Christian Göttsche <[email protected]>
1 parent 8647894 commit ca15903

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

.github/workflows/run_tests.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,39 @@ jobs:
1010
matrix:
1111
compiler: [gcc, clang]
1212
python-ruby-version:
13-
- {python: '3.11', ruby: '3.1'}
14-
- {python: '3.11', ruby: '3.1', other: 'test-flags-override'}
15-
- {python: '3.11', ruby: '3.1', other: 'test-debug'}
16-
- {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
17-
- {python: '3.11', ruby: '3.1', other: 'linker-gold'}
13+
- {python: '3.12', ruby: '3.3'}
14+
- {python: '3.12', ruby: '3.3', other: 'test-flags-override'}
15+
- {python: '3.12', ruby: '3.3', other: 'test-debug'}
16+
- {python: '3.12', ruby: '3.3', other: 'linker-bfd'}
17+
- {python: '3.12', ruby: '3.3', other: 'linker-gold'}
1818
# Test several Python versions with the latest Ruby version
19-
- {python: '3.10', ruby: '3.1'}
20-
- {python: '3.9', ruby: '3.1'}
21-
- {python: '3.8', ruby: '3.1'}
22-
- {python: '3.7', ruby: '3.1'}
23-
- {python: 'pypy3.7', ruby: '3.1'}
19+
- {python: '3.11', ruby: '3.3'}
20+
- {python: '3.10', ruby: '3.3'}
21+
- {python: '3.9', ruby: '3.3'}
22+
- {python: '3.8', ruby: '3.3'}
23+
- {python: '3.7', ruby: '3.3'}
24+
- {python: 'pypy3.7', ruby: '3.3'}
2425
# Test several Ruby versions with the latest Python version
25-
- {python: '3.11', ruby: '3.0'}
26-
- {python: '3.11', ruby: '2.7'}
27-
- {python: '3.11', ruby: '2.6'}
28-
- {python: '3.11', ruby: '2.5'}
26+
- {python: '3.12', ruby: '3.2'}
27+
- {python: '3.12', ruby: '3.1'}
28+
- {python: '3.12', ruby: '3.0'}
29+
- {python: '3.12', ruby: '2.7'}
30+
- {python: '3.12', ruby: '2.6'}
31+
- {python: '3.12', ruby: '2.5'}
2932
exclude:
3033
- compiler: clang
31-
python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
34+
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'linker-bfd'}
3235
- compiler: clang
33-
python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-gold'}
36+
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'linker-gold'}
3437
include:
3538
- compiler: gcc
36-
python-ruby-version: {python: '3.11', ruby: '3.1', other: 'sanitizers'}
39+
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'sanitizers'}
3740

3841
steps:
3942
- uses: actions/checkout@v4
4043

4144
- name: Set up Python ${{ matrix.python-ruby-version.python }}
42-
uses: actions/setup-python@v4
45+
uses: actions/setup-python@v5
4346
with:
4447
python-version: ${{ matrix.python-ruby-version.python }}
4548

@@ -67,7 +70,7 @@ jobs:
6770
swig \
6871
xmlto
6972
70-
pip install flake8
73+
pip install flake8 setuptools
7174
7275
- name: Install Clang
7376
if: ${{ matrix.compiler == 'clang' }}

0 commit comments

Comments
 (0)