Fix stubtest unused workflow (#5372)

This got broken during modular typeshed

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-05-07 22:54:03 -07:00
committed by GitHub
parent e885820bb7
commit 1c76937836
2 changed files with 3 additions and 1 deletions

View File

@@ -25,10 +25,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Keep the mypy version in sync with what we use for stubtest in tests.yml
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -U git+git://github.com/python/mypy@24fdf343
pip install -U git+git://github.com/python/mypy@master
- name: Run stubtest
shell: bash
run: ./tests/stubtest_unused.py | tee stubtest-output-${{ matrix.os }}-${{ matrix.python-version }} || true

View File

@@ -113,6 +113,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Keep the mypy version in sync with what we use for stubtest in stubtest-unused-whitelist.yml
- name: Install dependencies
run: |
python -m pip install -U pip