From 732967efb72704c30d3d10f13d5da75863f2140f Mon Sep 17 00:00:00 2001 From: remsky Date: Mon, 13 Jan 2025 20:25:29 -0700 Subject: [PATCH] ci: add UV_PROJECT_ENVIRONMENT variable to CI workflow --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6de0e1f..0754a6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: runs-on: ubuntu-latest env: UV_SYSTEM_PYTHON: 1 + UV_PROJECT_ENVIRONMENT: 1 strategy: matrix: python-version: ["3.10"] @@ -36,8 +37,8 @@ jobs: - name: Lint with ruff run: | - uv run --system ruff check . + uv run ruff check . - name: Test API and UI 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