Skip to content

Commit

Permalink
ci: disable type-checking for the baseline-deps CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
xen0n committed Dec 29, 2024
1 parent 701fba4 commit b7d6262
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,14 @@ jobs:
- name: Lint with ruff
run: poetry run ruff check
- name: Type-check with mypy
# it is rather cumbersome to work with ancient versions of deps that
# lack type annotations, so just rely on the CI job running with
# non-baseline deps
if: success() && !matrix.baseline
run: poetry run mypy
- name: Type-check with pyright
# same with pyright
if: success() && !matrix.baseline
run: poetry run -- pyright --pythonversion ${{ matrix.python }}
- name: Test with pytest
run: poetry run pytest
Expand Down

0 comments on commit b7d6262

Please sign in to comment.