Skip to content

Make pydantic 1/2 compatible #23

Make pydantic 1/2 compatible

Make pydantic 1/2 compatible #23

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.11" ]
pydantic: ["1", "2"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install hatch
- name: Test with pytest
run:
hatch run test +pydantic=${{ matrix.pydantic }}