Skip to content

add: add pyright as a static type checker #4

add: add pyright as a static type checker

add: add pyright as a static type checker #4

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }} with uv
uses: ./.github/actions/setup-python-with-uv
with:
python-version: ${{ matrix.python-version }}
- name: Run Pytest if directory exists
run: |
if [ -d "./tests/" ]; then
uv run pytest -s
fi