Skip to content

Commit 50a55d7

Browse files
Remove mypy and type checks from pypy tests
1 parent 966bc3e commit 50a55d7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
if: ${{ matrix.install_libcxx }}
4646
run: |
4747
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y libc++-dev libc++abi-dev
48-
- name: Install flake8 & mypy
49-
run: python -m pip install flake8 mypy
48+
- name: Install flake8
49+
run: python -m pip install flake8
5050
- name: Fetch fixtures
5151
run: ./script/fetch-fixtures
5252
- name: Lint
@@ -55,7 +55,11 @@ jobs:
5555
shell: bash
5656
run: |
5757
CFLAGS="-O0 -g" python setup.py test
58-
- name: Type Check
58+
- name: Install mypy
59+
if: ${{ !startsWith(matrix.python, "pypy") }}
60+
run: python -m pip install mypy
61+
- name: Check types
5962
shell: bash
63+
if: ${{ !startsWith(matrix.python, "pypy") }}
6064
run: |
6165
mypy --config-file mypy.ini tests/test_tree_sitter.py

0 commit comments

Comments
 (0)