Skip to content

Commit 4ccb987

Browse files
matrix pydantic
1 parent 8ad53d7 commit 4ccb987

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
14+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
15+
pydantic: [ "==1.10.2", ">=2.0.0" ]
1516
steps:
1617
- uses: actions/checkout@v3
1718
- name: Set up Python ${{ matrix.python-version }}
@@ -22,7 +23,8 @@ jobs:
2223
cache-dependency-path: setup.py
2324
- name: Install dependencies
2425
run: |
25-
pip install '.[test]'
26+
pip install -e '.[test]'
27+
pip install 'pydantic${{ matrix.pydantic }}'
2628
- name: Run tests
2729
run: |
2830
pytest

0 commit comments

Comments
 (0)