Skip to content

enable ffmpeg

enable ffmpeg #11

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
marker: ["not llm", "llm0", "llm1", "llm2", "llm3"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install FFmpeg
if: ${{ matrix.marker != 'not llm' }}
run: sudo apt install -y ffmpeg
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-extras --dev --python ${{ matrix.python-version }} --python-preference only-system
- name: Run tests
run: uv run pytest -m "${{ matrix.marker }}" tests
- name: Lint
if: ${{ matrix.marker == 'not llm' }}
run: uv run ruff check && uv run ruff format --check