Skip to content

Commit 6f432c2

Browse files
timsaucerclaude
andcommitted
ci: run tests from the .venv, not the bare setup-python interpreter
Setting UV_PYTHON on the test step pointed 'uv run --no-project pytest' at the setup-python interpreter, which has no pytest installed, causing 'Failed to spawn: pytest'. UV_PYTHON is only needed in the install step to build the .venv with the right interpreter; the test step must use that .venv. Drop UV_PYTHON from the test step. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9c18f90 commit 6f432c2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
- name: Run tests
103103
env:
104104
RUST_BACKTRACE: 1
105-
UV_PYTHON: ${{ steps.setup-python.outputs.python-path }}
106105
# On free-threaded interpreters, fail loud if any C extension
107106
# re-enables the GIL implicitly.
108107
PYTHON_GIL: ${{ matrix.freethreaded && '0' || '' }}

0 commit comments

Comments
 (0)