mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Run pytype and mypy self test using GitHub Actions (#4565)
This commit is contained in:
21
.github/workflows/tests.yml
vendored
21
.github/workflows/tests.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user