mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
ci: add UV_PROJECT_ENVIRONMENT variable to CI workflow
This commit is contained in:
parent
fc6227d5db
commit
732967efb7
1 changed files with 3 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -11,6 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
UV_SYSTEM_PYTHON: 1
|
UV_SYSTEM_PYTHON: 1
|
||||||
|
UV_PROJECT_ENVIRONMENT: 1
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10"]
|
python-version: ["3.10"]
|
||||||
|
@ -36,8 +37,8 @@ jobs:
|
||||||
|
|
||||||
- name: Lint with ruff
|
- name: Lint with ruff
|
||||||
run: |
|
run: |
|
||||||
uv run --system ruff check .
|
uv run ruff check .
|
||||||
|
|
||||||
- name: Test API and UI
|
- name: Test API and UI
|
||||||
run: |
|
run: |
|
||||||
uv run --system pytest api/tests/ ui/tests/ --asyncio-mode=auto --cov=api --cov=ui --cov-report=term-missing
|
uv run pytest api/tests/ ui/tests/ --asyncio-mode=auto --cov=api --cov=ui --cov-report=term-missing
|
||||||
|
|
Loading…
Add table
Reference in a new issue