File tree Expand file tree Collapse file tree 1 file changed +29
-5
lines changed
Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,35 @@ jobs:
2020
2121 - name : Install mypy
2222 run : |
23- pip3 install -r requirements/testing/mypy.txt -r requirements/testing/all.txt
24- pip3 install .
23+ pip3 install -r requirements/testing/mypy.txt \
24+ -r requirements/testing/all.txt
25+ pip3 install -e .
26+
27+ - name : Set up reviewdog
28+ run : |
29+ mkdir -p "$HOME/bin"
30+ curl -sfL \
31+ https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
32+ sh -s -- -b "$HOME/bin"
33+ echo "$HOME/bin" >> $GITHUB_PATH
2534
2635 - name : Run mypy stubtest
36+ env :
37+ REVIEWDOG_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2738 run : |
28- # the ignore missing imports can be removed when typed cycler is released and used
29- MPLBACKEND=agg python -m mypy.stubtest matplotlib --mypy-config-file pyproject.toml \
30- --allowlist ci/mypy-stubtest-allowlist.txt
39+ set -o pipefail
40+ MPLBACKEND=agg python -m mypy.stubtest \
41+ --mypy-config-file pyproject.toml \
42+ --allowlist ci/mypy-stubtest-allowlist.txt \
43+ matplotlib | \
44+ reviewdog \
45+ -efm '%Eerror: %m' \
46+ -efm '%CStub: in file %f:%l' \
47+ -efm '%CStub: in file %f' \
48+ -efm '%+CRuntime:%.%#' \
49+ -efm '%+CMISSING' \
50+ -efm '%+Cdef %.%#' \
51+ -efm '%+C<%.%#>' \
52+ -efm '%Z' \
53+ -reporter=github-check -tee -name=mypy-stubtest \
54+ -filter-mode=nofilter
You can’t perform that action at this time.
0 commit comments