Skip to content

FIX: fix flatten spe #185

FIX: fix flatten spe

FIX: fix flatten spe #185

Workflow file for this run

name: Python
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Install Python
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync
- name: Lint
run: uv run ruff check .
- name: Type check
run: uv run mypy .
- name: Test
run: uv run pytest -v -s --cov=src --cov-report=xml tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}