Commit f341a46
committed
refactor: use --no-project flag instead of direct pytest execution
Instead of calling .venv/bin/pytest directly, use uv's --no-project flag
which avoids discovering the project/workspace and lockfile entirely.
This is cleaner and more cross-platform than the shell script approach,
while achieving the same goal: ensuring lowest-direct tests use only
the packages installed by --resolution lowest-direct without any
interference from the lockfile.
- lowest-direct: uv run --no-project --no-sync pytest
- highest: uv run --frozen --no-sync pytest1 parent f4259f2 commit f341a46
File tree
1 file changed
+1
-7
lines changed- .github/workflows
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 80 | + | |
87 | 81 | | |
88 | 82 | | |
89 | 83 | | |
| |||
0 commit comments