From: Jérôme Benoit Date: Fri, 17 Apr 2026 23:18:27 +0000 (+0200) Subject: ci: update Python matrix from 3.12/3.13 to 3.13/3.14 X-Git-Tag: cli@v4.5.0~22 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3530ba1dc804f2f7380ed905319c7a88ba14c347;p=e-mobility-charging-stations-simulator.git ci: update Python matrix from 3.12/3.13 to 3.13/3.14 Python 3.12 is in security-only mode (no more bugfixes). Python 3.14 is stable with active bugfix support (3.14.3 released). Run typecheck, lint, and coverage on 3.14 (latest stable). --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5048d30..ea7422f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python: [3.12, 3.13] + python: ['3.13', '3.14'] name: Build OCPP mock server with Python ${{ matrix.python }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} defaults: @@ -44,16 +44,16 @@ jobs: - name: Install Dependencies run: poetry install --no-root - name: Typecheck - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.14' }} run: poetry run task typecheck - name: Lint - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.14' }} run: poetry run task lint - name: Test - if: ${{ !(github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.13') }} + if: ${{ !(github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.14') }} run: poetry run task test - name: Test with coverage - if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} + if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.14' }} run: poetry run task test_coverage build-simulator: