Skip to content

Commit 9bd927c

Browse files
committed
CI Type-check with mypy, pyright, basedpyright, and ty
1 parent 8c6939d commit 9bd927c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,22 @@ jobs:
272272
- name: Check no test always skipped
273273
run: |
274274
python continuous_integration/check_no_test_skipped.py test_results
275+
276+
typecheck:
277+
runs-on: ubuntu-latest
278+
steps:
279+
- uses: actions/checkout@v5
280+
281+
- uses: astral-sh/setup-uv@v6
282+
283+
- name: mypy
284+
run: uvx mypy --no-incremental --cache-dir=/dev/null --python-version=3.9 threadpoolctl
285+
286+
- name: pyright
287+
run: uvx pyright --pythonversion=3.9 threadpoolctl
288+
289+
- name: basedpyright
290+
run: uvx pyright --pythonversion=3.9 threadpoolctl
291+
292+
- name: ty check
293+
run: uvx ty check --python-version=3.9 threadpoolctl

0 commit comments

Comments
 (0)