1 parent 805fb9b commit 44cbd5eCopy full SHA for 44cbd5e
1 file changed
scripts/release-gate.ps1
@@ -71,7 +71,11 @@ if ($changelog -notmatch "## \[$version\]") { Fail "CHANGELOG.md has no entry fo
71
72
# 3. tests green
73
Write-Host "Running the full test suite..." -ForegroundColor Cyan
74
-& uv run --directory $rootDir pytest -q
+# Use the locked interpreter as a module: `uv run pytest` does not put the
75
+# repository root on sys.path on Windows (tests import `scripts.*`) and can
76
+# trigger a network re-sync against a mirror. `python -m pytest` matches how
77
+# every local verification command in this repo runs the suite.
78
+& $py -m pytest -q
79
if ($LASTEXITCODE -ne 0) { Fail "test suite failed" }
80
81
# 4. README tables generated (drift check)
0 commit comments