chore: added python 3.12 to CI (#23835)

* chore: added python 3.12 to CI

* chore: changed py-test-skip to 3.12
This commit is contained in:
Teddy 2025-10-10 17:26:45 +02:00 committed by GitHub
parent 93e5ee8cb1
commit 1f8cf64dd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 3 deletions

View File

@ -26,6 +26,6 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
py-version: ['3.9', '3.10', '3.11']
py-version: ['3.10', '3.11', '3.12']
steps:
- run: 'echo "Step is not required"'

View File

@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
py-version: ["3.10", "3.11"]
py-version: ["3.10", "3.11", "3.12"]
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
@ -88,6 +88,14 @@ jobs:
env:
TESTCONTAINERS_RYUK_DISABLED: true
- name: Run Python Tests (3.12)
if: ${{ matrix.py-version == '3.12' }}
run: |
source env/bin/activate
make run_python_tests
env:
TESTCONTAINERS_RYUK_DISABLED: true
- name: Run Python Tests & record coverage
if: ${{ matrix.py-version == '3.10' }}
run: |

View File

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
py-version: ['3.9']
py-version: ['3.12']
e2e-test: ['mysql', '{connector}']
```