Skip to content

include 3.10 in CI

include 3.10 in CI #13

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
jobs:
build:
name: continuous-integration
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.12']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set the python version for UV
run: echo "UV_PYTHON=${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Set up uv
run: pip install uv
- name: Check code quality with Ruff
run: |
uv run ruff check
uv run ruff format --check
- name: Check type hints with pyright
run: uv run pyright
- name: Run unit tests with pytest
run: uv run pytest