Skip to content

Commit f1ab6a6

Browse files
committed
👷 Run lints only on Pydantic v2
1 parent fca1101 commit f1ab6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: pip install "pydantic>=2.0.2,<3.0.0"
6969
- name: Lint
7070
# Do not run on Python 3.7 as mypy behaves differently
71-
if: matrix.python-version != '3.7'
71+
if: matrix.python-version != '3.7' && matrix.pydantic-version == 'pydantic-v2'
7272
run: python -m poetry run bash scripts/lint.sh
7373
- run: mkdir coverage
7474
- name: Test

0 commit comments

Comments
 (0)