We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2525a commit 168af67Copy full SHA for 168af67
.github/workflows/tests.yml
@@ -70,7 +70,11 @@ jobs:
70
python-version: ${{ matrix.python-version }}
71
- run: curl -LsSf https://astral.sh/uv/install.sh | sh
72
- run: uv pip install -r requirements-tests.txt --system
73
- - run: python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
+ - run: |
74
+ # python-version can sometimes be pinned to a specific version or to "-dev", but
75
+ # mypy understands only X.Y version numbers.
76
+ MYPY_PY_VERSION=$(echo ${{ matrix.python-version }} | cut -d - -f 1 | cut -d . -f 1-2)
77
+ python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${MYPY_PY_VERSION}
78
79
regression-tests:
80
name: "mypy: Run test cases"
0 commit comments