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.
2 parents 493c915 + 7be61ff commit 0e8a989Copy full SHA for 0e8a989
ci.sh
@@ -103,6 +103,12 @@ else
103
INSTALLDIR=$(python -c "import os, trio; print(os.path.dirname(trio.__file__))")
104
cp ../pyproject.toml $INSTALLDIR
105
106
+ # TODO: remove this once we have a py.typed file
107
+ touch "$INSTALLDIR/py.typed"
108
+
109
+ # get mypy tests a nice cache
110
+ MYPYPATH=".." mypy --config-file= --cache-dir=./.mypy_cache -c "import trio" >/dev/null 2>/dev/null || true
111
112
if pytest -r a -p trio._tests.pytest_plugin --junitxml=../test-results.xml --run-slow ${INSTALLDIR} --cov="$INSTALLDIR" --cov-report=xml --cov-config=../.coveragerc --verbose; then
113
PASSED=true
114
else
0 commit comments