Skip to content

Commit 958cf01

Browse files
committed
fix: resolve CI failures in test workflow
Changes: - Fix test job to use 'uv sync' instead of 'uv pip install -e .' (uv pip requires a venv, uv sync creates one automatically) - Add uv.lock file for reproducible builds This resolves the 'No virtual environment found' errors across all test matrix combinations (3 OSes × 5 Python versions). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 27f8210 commit 958cf01

2 files changed

Lines changed: 380 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: uv python pin ${{ matrix.python-version }}
8585

8686
- name: Install package
87-
run: uv pip install -e .
87+
run: uv sync
8888

8989
- name: Test CLI can be invoked
9090
run: uv run promptfoo --version

0 commit comments

Comments
 (0)