From 658e32a66d0e596f0bab697764dd78dc722a2356 Mon Sep 17 00:00:00 2001 From: ssttkkl Date: Mon, 16 Sep 2024 02:45:02 +0800 Subject: [PATCH] =?UTF-8?q?PR=20Check=E6=B7=BB=E5=8A=A0Pyd=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=80=A7=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-check.yml | 2 ++ 1 file changed, 2 insertions(+) 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