Run pytype and mypy self test using GitHub Actions (#4565)

This commit is contained in:
Sebastian Rittau
2020-09-21 16:07:08 +02:00
committed by GitHub
parent 3f53989529
commit fae202e2a9
2 changed files with 21 additions and 6 deletions

View File

@@ -51,6 +51,27 @@ jobs:
pip install $(grep isort requirements-tests-py3.txt)
isort --check-only --diff stdlib third_party
pytype:
name: Run pytype against the stubs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
- run: pip install -r requirements-tests-py3.txt
- run: ./tests/pytype_test.py
mypy-self-test:
name: Test mypy source with itself
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- run: ./tests/mypy_selftest.py
stubtest:
name: Check stubs with stubtest
runs-on: ${{ matrix.os }}