V0.1.4 #89
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "master", "pre-release" ] | |
pull_request: | |
branches: [ "master", "pre-release" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
# Add FFmpeg installation step | |
- name: Install FFmpeg | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y ffmpeg | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
enable-cache: true | |
- name: Install dependencies | |
run: | | |
uv pip install -e .[test,cpu] | |
- name: Run Tests | |
run: | | |
uv run pytest api/tests/ --asyncio-mode=auto --cov=api --cov-report=term-missing |