Files
pytheory/.github/workflows/ci.yml
kennethreitz ecb2278958 ci: install libportaudio2 — red since v0.45.0
sounddevice's Linux wheels don't bundle PortAudio (the macOS ones
do), so every live-engine test has failed on CI since the live
engine landed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 07:35:51 -04:00

33 lines
794 B
YAML

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install PortAudio (sounddevice's Linux wheels don't bundle it)
run: sudo apt-get update && sudo apt-get install -y libportaudio2
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}
- name: Run tests
run: uv run --python ${{ matrix.python-version }} pytest test_pytheory.py -v