Skip to content

Type checker compatibility tests #1

Type checker compatibility tests

Type checker compatibility tests #1

Workflow file for this run

name: Type checker compatibility tests
on:
- workflow_dispatch
jobs:
mypy_compat:
strategy:
fail-fast: false
matrix:
myver:
- 1.0.0
- 1.0.1
- 1.1.1
- 1.2.0
- 1.3.0
- 1.4.0
- 1.4.1
- 1.5.0
- 1.5.1
- 1.6.0
- 1.6.1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install requirements
run: >
pip install types-beautifulsoup4
'typing_extensions >= 4.5'
'mypy == ${{ matrix.myver }}'
- name: Perform check on source
run: mypy lxml-stubs
pyright_compat:
strategy:
fail-fast: false
matrix:
prver:
- 1.1.289
- 1.1.290
- 1.1.291
- 1.1.292
- 1.1.293
- 1.1.294
- 1.1.295
- 1.1.296
- 1.1.297
- 1.1.298
- 1.1.299
- 1.1.300
- 1.1.301
- 1.1.302
- 1.1.303
- 1.1.304
- 1.1.305
- 1.1.306
- 1.1.307
- 1.1.308
- 1.1.309
- 1.1.310
- 1.1.311
- 1.1.312
- 1.1.313
- 1.1.314
- 1.1.315
- 1.1.316
- 1.1.317
- 1.1.318
- 1.1.319
- 1.1.320
- 1.1.321
- 1.1.322
- 1.1.323
- 1.1.324
- 1.1.325
- 1.1.326
- 1.1.327
- 1.1.328
- 1.1.329
- 1.1.330
- 1.1.331
- 1.1.332
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install requirements
run: >
pip install types-beautifulsoup4
'typing_extensions >= 4.5'
- uses: jakebailey/pyright-action@v1
with:
version: ${{ matrix.prver }}
- name: Perform check on source
run: pyright lxml-stubs