Skip to content

Update pydantic

Update pydantic #3

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 41, Col: 7): Unexpected value 'include'
on:
push:
branches: ["**"]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "poetry"
- run: poetry install
- name: black
run: poetry run black --check python_chargepoint/ tests/
- name: flake8
run: poetry run flake8 python_chargepoint/ tests/
- name: mypy
run: poetry run mypy python_chargepoint/
- name: pyright
run: poetry run pyright python_chargepoint/
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
include:
# pydantic-core doesn't yet publish 3.14 wheels; allow failure until it does
- python-version: "3.14"
experimental: true
fail-fast: false
continue-on-error: ${{ matrix.experimental == true }}
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- run: poetry install
- name: pytest
run: poetry run pytest