Skip to content

Commit

Permalink
github: bump python and ruby versions
Browse files Browse the repository at this point in the history
Bump the maximum python version to 3.12 and the maximum ruby version to
3.3 in the GitHub CI.
  • Loading branch information
cgzones committed Apr 4, 2024
1 parent 8647894 commit b66ff27
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,33 @@ jobs:
matrix:
compiler: [gcc, clang]
python-ruby-version:
- {python: '3.11', ruby: '3.1'}
- {python: '3.11', ruby: '3.1', other: 'test-flags-override'}
- {python: '3.11', ruby: '3.1', other: 'test-debug'}
- {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
- {python: '3.11', ruby: '3.1', other: 'linker-gold'}
- {python: '3.12', ruby: '3.3'}
- {python: '3.12', ruby: '3.3', other: 'test-flags-override'}
- {python: '3.12', ruby: '3.3', other: 'test-debug'}
- {python: '3.12', ruby: '3.3', other: 'linker-bfd'}
- {python: '3.12', ruby: '3.3', other: 'linker-gold'}
# Test several Python versions with the latest Ruby version
- {python: '3.10', ruby: '3.1'}
- {python: '3.9', ruby: '3.1'}
- {python: '3.8', ruby: '3.1'}
- {python: '3.7', ruby: '3.1'}
- {python: 'pypy3.7', ruby: '3.1'}
- {python: '3.11', ruby: '3.3'}
- {python: '3.10', ruby: '3.3'}
- {python: '3.9', ruby: '3.3'}
- {python: '3.8', ruby: '3.3'}
- {python: '3.7', ruby: '3.3'}
- {python: 'pypy3.7', ruby: '3.3'}
# Test several Ruby versions with the latest Python version
- {python: '3.11', ruby: '3.0'}
- {python: '3.11', ruby: '2.7'}
- {python: '3.11', ruby: '2.6'}
- {python: '3.11', ruby: '2.5'}
- {python: '3.12', ruby: '3.2'}
- {python: '3.12', ruby: '3.1'}
- {python: '3.12', ruby: '3.0'}
- {python: '3.12', ruby: '2.7'}
- {python: '3.12', ruby: '2.6'}
- {python: '3.12', ruby: '2.5'}
exclude:
- compiler: clang
python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'linker-bfd'}
- compiler: clang
python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-gold'}
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'linker-gold'}
include:
- compiler: gcc
python-ruby-version: {python: '3.11', ruby: '3.1', other: 'sanitizers'}
python-ruby-version: {python: '3.12', ruby: '3.3', other: 'sanitizers'}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
swig \
xmlto
pip install flake8
pip install flake8 setuptools
- name: Install Clang
if: ${{ matrix.compiler == 'clang' }}
Expand Down

0 comments on commit b66ff27

Please sign in to comment.