Skip to content

Commit

Permalink
PR Check添加Pyd兼容性检查
Browse files Browse the repository at this point in the history
  • Loading branch information
ssttkkl committed Sep 15, 2024
1 parent a17581f commit 658e32a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 658e32a

Please sign in to comment.