mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
Update ci.yml
This commit is contained in:
parent
dba8220627
commit
83c55ca735
1 changed files with 6 additions and 4 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue