Update ci.yml

This commit is contained in:
remsky 2025-01-18 00:08:31 -07:00 committed by GitHub
parent dba8220627
commit 83c55ca735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,9 @@
name: CI
on:
push:
branches: [ "master", "pre-release" ]
pull_request:
branches: [ "master", "pre-release" ]
jobs:
test:
runs-on: ubuntu-latest
@ -17,16 +15,20 @@ jobs:
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