Commit f4259f2
committed
fix: run pytest directly from venv for lowest-direct tests
The issue was that 'uv run' (even with --no-sync) was still interacting
with the project configuration and potentially re-resolving packages.
Solution: For lowest-direct tests, bypass uv run entirely and execute
pytest directly from the venv: .venv/bin/pytest
This ensures we use exactly what was installed by --resolution lowest-direct
without any interference from uv's project management or lockfile validation.
For highest tests, continue using 'uv run --frozen --no-sync pytest' which
validates against the lockfile as intended.
Github-Issue: #13251 parent 5b9f8ea commit f4259f2
File tree
1 file changed
+7
-1
lines changed- .github/workflows
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
0 commit comments