diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1edc0d9..201e7653 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,17 +62,8 @@ jobs: - name: Install uv (Unix) if: ${{ runner.os != 'Windows' }} run: curl -LsSf https://astral.sh/uv/install.sh | sh - - name: Create and activate a virtual environment - shell: bash - # uv doesn't (yet) allow us to install packages globally; - # we have to create and activate a virtual environment - run: | - uv venv .venv - echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV - echo "$PWD/.venv/bin" >> $GITHUB_PATH - echo "$GITHUB_WORKSPACE\\.venv\\Scripts" >> $GITHUB_PATH - name: Install dependencies - run: uv pip install -e ".[pytest]" + run: uv pip install -e ".[pytest]" --system - run: uv pip freeze - name: Run tests under coverage run: |