ci: add UV_PROJECT_ENVIRONMENT variable to CI workflow

This commit is contained in:
remsky 2025-01-13 20:25:29 -07:00
parent fc6227d5db
commit 732967efb7

View file

@ -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