Skip to content

updated version

updated version #102

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
name: Python package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --all-extras --dev
- name: Run ruff checking
run: uvx ruff check
- name: Run unit tests
run: uv run python -m unittest discover -s tests/unit