mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
32 lines
654 B
YAML
32 lines
654 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "core/uv-management" ]
|
|
pull_request:
|
|
branches: [ "core/uv-management" ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10"]
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- 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
|