Skip to content

Commit 84a101f

Browse files
committed
DONT MERGE: only run tests in ci
1 parent aa3b783 commit 84a101f

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

.github/workflows/tests.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -36,33 +36,33 @@ jobs:
3636
- run: uv pip install -r requirements-tests.txt --system
3737
- run: python ./tests/check_typeshed_structure.py
3838

39-
mypy:
40-
name: "mypy: Check stubs"
41-
runs-on: ubuntu-latest
42-
strategy:
43-
matrix:
44-
platform: ["linux", "win32", "darwin"]
45-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
46-
fail-fast: false
47-
steps:
48-
- uses: actions/checkout@v6
49-
- uses: actions/setup-python@v6
50-
with:
51-
python-version: ${{ matrix.python-version }}
52-
allow-prereleases: true
53-
- uses: astral-sh/setup-uv@v7
54-
with:
55-
version-file: "requirements-tests.txt"
56-
- run: uv pip install -r requirements-tests.txt --system
57-
- name: Install required APT packages
58-
run: |
59-
PACKAGES=$(python tests/get_stubtest_system_requirements.py)
60-
if [ -n "$PACKAGES" ]; then
61-
printf "Installing APT packages:\n $(echo $PACKAGES | sed 's/ /\n /g')\n"
62-
sudo apt-get update -q && sudo apt-get install -qy $PACKAGES
63-
fi
64-
- name: Run mypy_test.py
65-
run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
39+
# mypy:
40+
# name: "mypy: Check stubs"
41+
# runs-on: ubuntu-latest
42+
# strategy:
43+
# matrix:
44+
# platform: ["linux", "win32", "darwin"]
45+
# python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
46+
# fail-fast: false
47+
# steps:
48+
# - uses: actions/checkout@v6
49+
# - uses: actions/setup-python@v6
50+
# with:
51+
# python-version: ${{ matrix.python-version }}
52+
# allow-prereleases: true
53+
# - uses: astral-sh/setup-uv@v7
54+
# with:
55+
# version-file: "requirements-tests.txt"
56+
# - run: uv pip install -r requirements-tests.txt --system
57+
# - name: Install required APT packages
58+
# run: |
59+
# PACKAGES=$(python tests/get_stubtest_system_requirements.py)
60+
# if [ -n "$PACKAGES" ]; then
61+
# printf "Installing APT packages:\n $(echo $PACKAGES | sed 's/ /\n /g')\n"
62+
# sudo apt-get update -q && sudo apt-get install -qy $PACKAGES
63+
# fi
64+
# - name: Run mypy_test.py
65+
# run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
6666

6767
regression-tests:
6868
name: "mypy: Run test cases"
@@ -117,21 +117,21 @@ jobs:
117117
run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
118118
- name: List 3rd-party stub dependencies installed
119119
run: uv pip freeze
120-
- name: Run pyright with basic settings on all the stubs
121-
uses: jakebailey/pyright-action@v2
122-
with:
123-
version: PATH
124-
python-platform: ${{ matrix.python-platform }}
125-
python-version: ${{ matrix.python-version }}
126-
annotate: ${{ matrix.python-version == '3.13' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
127-
- name: Run pyright with stricter settings on some of the stubs
128-
uses: jakebailey/pyright-action@v2
129-
with:
130-
version: PATH
131-
python-platform: ${{ matrix.python-platform }}
132-
python-version: ${{ matrix.python-version }}
133-
annotate: ${{ matrix.python-version == '3.13' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
134-
project: ./pyrightconfig.stricter.json
120+
# - name: Run pyright with basic settings on all the stubs
121+
# uses: jakebailey/pyright-action@v2
122+
# with:
123+
# version: PATH
124+
# python-platform: ${{ matrix.python-platform }}
125+
# python-version: ${{ matrix.python-version }}
126+
# annotate: ${{ matrix.python-version == '3.13' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
127+
# - name: Run pyright with stricter settings on some of the stubs
128+
# uses: jakebailey/pyright-action@v2
129+
# with:
130+
# version: PATH
131+
# python-platform: ${{ matrix.python-platform }}
132+
# python-version: ${{ matrix.python-version }}
133+
# annotate: ${{ matrix.python-version == '3.13' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
134+
# project: ./pyrightconfig.stricter.json
135135
- name: Run pyright on the test cases
136136
uses: jakebailey/pyright-action@v2
137137
with:

0 commit comments

Comments
 (0)