Skip to content

Change shim mechanisms #85

Change shim mechanisms

Change shim mechanisms #85

Workflow file for this run

name: CI
on:
push:
branches: [main]
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: defer_imports
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 .[test]
- name: Run tests on ${{ matrix.python-version }}
run: |
python -m pytest tests