Skip to content

Commit 49a54d7

Browse files
committed
ci: no parallel on Windows
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Apply suggestion from @henryiii
1 parent 38b701a commit 49a54d7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def tests(session: nox.Session) -> None:
4646
"PYTHONWARNDEFAULTENCODING": "1",
4747
"COVERAGE_FILE": coverage_file,
4848
}
49+
parallel = [] if sys.platform.startswith("win32") else ["--numprocesses=auto"]
4950

5051
session.create_tmp() # Fixes permission errors on Windows
5152
session.install(*PYPROJECT["dependency-groups"]["test"], "uv")
@@ -57,7 +58,7 @@ def tests(session: nox.Session) -> None:
5758
"run",
5859
"-m",
5960
"pytest",
60-
"--numprocesses=auto",
61+
*parallel,
6162
"-m",
6263
"not conda",
6364
*session.posargs,

0 commit comments

Comments
 (0)