Skip to content

Commit e7094ef

Browse files
committed
ci: no parallel on Windows
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent c29c8b2 commit e7094ef

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.startwith("win32") else ["--numprocesses=auto"]
4950

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

0 commit comments

Comments
 (0)