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:
- 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: