Skip to content

Commit d30c226

Browse files
debug mypy error report masked by 'error: --install-types failed (no mypy cache directory)' (python/mypy#10768)
1 parent c6a84d9 commit d30c226

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
jobs:
1919
test:
2020
strategy:
21+
fail-fast: false
2122
matrix:
2223
python: ['3.7', '3.8', '3.9', '3.10']
2324
platform: [ubuntu-latest, macos-latest, windows-latest]
@@ -43,7 +44,9 @@ jobs:
4344
./scripts/wait-for-it.sh --strict --timeout=30 localhost:8082 -- echo 'vektonn-index-shard service is up'
4445
4546
- name: Test
46-
run: python -m tox -e py
47+
run: |
48+
mkdir .mypy_cache
49+
python -m tox -e py
4750
4851
pypi-publish:
4952
if: startsWith(github.ref, 'refs/tags/v')

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ isolated_build = true
1616
deps =
1717
check-manifest >= 0.47
1818
flake8 >= 4.0.1
19-
mypy >= 0.910
19+
mypy >= 0.930
2020
pytest >= 6.2.5
2121
commands =
2222
check-manifest --ignore '.editorconfig,tox.ini,scripts/**,tests/**'

0 commit comments

Comments
 (0)