Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc19a28

Browse files
authored
CI: use one runner per mypy version (#5909)
This makes it easier to see in which version(s) an error occurred.
1 parent 8d5452e commit bc19a28

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
permissions:
88
contents: read
99

10+
env:
11+
PIP_DISABLE_PIP_VERSION_CHECK: 1
12+
1013
jobs:
1114
file-consistency:
1215
name: Check file consistency
@@ -69,12 +72,13 @@ jobs:
6972
strategy:
7073
matrix:
7174
platform: ["linux", "win32", "darwin"]
75+
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10"]
7276
fail-fast: false
7377
steps:
7478
- uses: actions/checkout@v2
7579
- uses: actions/setup-python@v2
7680
- run: pip install $(grep mypy== requirements-tests-py3.txt)
77-
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }}
81+
- run: ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
7882

7983
pyright:
8084
name: Run pyright against the stubs

0 commit comments

Comments
 (0)