diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 65244db..7ffe814 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -14,6 +14,7 @@ jobs: matrix: os: [ macos-latest, windows-latest, ubuntu-latest ] python-version: ["3.9", "3.10", "3.11", "3.12"] + pydantic: ["pydantic>=2.0.0", "pydantic<2.0.0"] runs-on: ${{ matrix.os }} steps: @@ -27,6 +28,7 @@ jobs: pip install poetry poetry export --with=dev --without-hashes -o requirements.txt pip install -r requirements.txt + pip install "${{ matrix.pydantic }}" - name: Test with pytest run: pytest