39 lines
1,007 B
YAML
39 lines
1,007 B
YAML
|
on: [push, pull_request]
|
||
|
name: pyright
|
||
|
jobs:
|
||
|
pyright-type-checking:
|
||
|
strategy:
|
||
|
matrix:
|
||
|
version: ["3.9", "3.10", "3.11"]
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: ${{ matrix.version }}
|
||
|
- run: pip install .[speedups,docs]
|
||
|
- uses: jakebailey/pyright-action@v1
|
||
|
with:
|
||
|
python-version: ${{ matrix.version }}
|
||
|
working-directory: next
|
||
|
|
||
|
pyright-type-completeness:
|
||
|
strategy:
|
||
|
matrix:
|
||
|
version: ["3.9", "3.10", "3.11"]
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: ${{ matrix.version }}
|
||
|
- run: pip install .[speedups,docs]
|
||
|
- uses: jakebailey/pyright-action@v1
|
||
|
with:
|
||
|
python-version: ${{ matrix.version }}
|
||
|
working-directory: next
|
||
|
verify-types: next
|
||
|
ignore-external: true
|