Skip to content

Commit

Permalink
👷 Run lints only on Pydantic v2
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Dec 4, 2023
1 parent fca1101 commit f1ab6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: pip install "pydantic>=2.0.2,<3.0.0"
- name: Lint
# Do not run on Python 3.7 as mypy behaves differently
if: matrix.python-version != '3.7'
if: matrix.python-version != '3.7' && matrix.pydantic-version == 'pydantic-v2'
run: python -m poetry run bash scripts/lint.sh
- run: mkdir coverage
- name: Test
Expand Down

0 comments on commit f1ab6a6

Please sign in to comment.