Skip to content

Fix example to work with Pydantic V2, add test for examples #215

Fix example to work with Pydantic V2, add test for examples

Fix example to work with Pydantic V2, add test for examples #215

Workflow file for this run

name: Lint & test
on: [push, pull_request]
jobs:
linters:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: pre-commit/action@v3.0.0
tests:
name: pytest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
- run: poetry install
- run: poetry run nox --non-interactive