diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58ba2ba49..ade60f255 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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