Commit 58030a5
committed
fix(ci): activate virtual environment for pytest and prek
Add venv activation step that adds .venv/bin (or Scripts on Windows) to
GITHUB_PATH. This ensures non-uv tools like pytest and prek use the
correct Python interpreter and installed packages from the virtual
environment.
Without this, pytest and prek would use the system Python and not find
the test dependencies installed by uv pip.1 parent 07fcdef commit 58030a5
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
| |||
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| 62 | + | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
56 | 66 | | |
| |||
0 commit comments