Skip to content

chore: drop docs/superpowers/ (session brainstorm artifacts, not proj… #39

chore: drop docs/superpowers/ (session brainstorm artifacts, not proj…

chore: drop docs/superpowers/ (session brainstorm artifacts, not proj… #39

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y portaudio19-dev
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Run type checking
run: uv run mypy --strict shh/
- name: Run linting
run: uv run ruff check .
- name: Run tests (excluding E2E)
run: uv run pytest -m "not e2e"
- name: Upload coverage reports to Codecov
if: matrix.python-version == '3.11'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false