Skip to content

Final pyright fix, for real for real. #26

Final pyright fix, for real for real.

Final pyright fix, for real for real. #26

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- 'README.rst'
pull_request:
types: [ opened, synchronize ]
paths-ignore:
- 'README.rst'
workflow_dispatch:
jobs:
typing:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
name: pyright - ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install project
run: |
python -m pip install -e .
- name: Run Pyright on ${{ matrix.python-version }}
uses: jakebailey/pyright-action@v2
with:
python-version: ${{ matrix.python-version }}
verify-types: deferred
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10' ]
os: [ubuntu-latest, macOS-latest, windows-latest]
name: tests - ${{ matrix.python-version }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install project and test dependencies
run: |
python -m pip install -e .[test]
- name: Run tests on ${{ matrix.python-version }}
run: |
python -m pytest tests