Skip to content

Commit 3c0bb15

Browse files
noxfile: Run tests in parallel with 8 processes
1 parent 9e00671 commit 3c0bb15

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

noxfile.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,12 @@ def tests(session: nox.Session) -> None:
1616
f"--python={session.virtualenv.location}",
1717
env={"UV_PROJECT_ENVIRONMENT": session.virtualenv.location},
1818
)
19-
session.run("pytest", "--cov=pdfrest", "--cov-report=term-missing")
19+
session.run(
20+
"pytest",
21+
"--cov=pdfrest",
22+
"--cov-report=term-missing",
23+
"--numprocesses",
24+
"8",
25+
"--maxschedchunk",
26+
"2",
27+
)

0 commit comments

Comments
 (0)