mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
ci: Use official uv action, sync
This commit is contained in:
parent
58cc7c898a
commit
03531db5d4
1 changed files with 2 additions and 5 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -9,8 +9,6 @@ on:
|
|||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
UV_SYSTEM_PYTHON: 1
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
|
@ -24,12 +22,11 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: true
|
||||
cache-dependency-glob: "uv.lock"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv pip install -e .[test]
|
||||
uv sync --all-extras
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
uv run pytest api/tests/ ui/tests/ --asyncio-mode=auto --cov=api --cov=ui --cov-report=term-missing
|
||||
uv run pytest api/tests/ --asyncio-mode=auto --cov=api --cov=ui --cov-report=term-missing
|
||||
|
|
Loading…
Add table
Reference in a new issue