Skip to content

Commit

Permalink
Add pydantic to test matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
surenkov committed Nov 5, 2023
1 parent 4fd78c9 commit 3b7b14d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
pydantic-version: ["1.10.13", "2.4.2"]

services:
postgres:
Expand Down Expand Up @@ -75,5 +76,7 @@ jobs:
sudo apt update && sudo apt install -qy python3-dev default-libmysqlclient-dev build-essential
python -m pip install --upgrade pip
python -m pip install -e .[dev,test,ci]
- name: Install Pydantic ${{ matrix.pydantic-version }}
run: python -m pip install "pydantic==${{ matrix.pydantic-version }}"
- name: Test package
run: pytest

0 comments on commit 3b7b14d

Please sign in to comment.