Skip to content

Commit 13aeb06

Browse files
committed
Add a build step for running tests against pydantic v1
1 parent d1216ad commit 13aeb06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ jobs:
5959
with:
6060
github-token: ${{ secrets.GITHUB_TOKEN }}
6161
path-to-lcov: coverage.lcov
62+
- name: Install pydantic<2
63+
run: |
64+
python -m pip install 'pydantic<2'
65+
- name: Run tests against pydantic<2
66+
run: |
67+
python -m pytest
6268
deploy:
6369
name: Deploy to PyPi
6470
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)