Skip to content

Commit 8cb2ea7

Browse files
speedstorm1copybara-github
authored andcommitted
chore: parallelize presubmit unit test runs with pytest-xdist
PiperOrigin-RevId: 823199807
1 parent 65bd0fb commit 8cb2ea7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def default(session):
205205
session.run(
206206
"py.test",
207207
"--quiet",
208+
"-n",
209+
"auto",
208210
f"--junitxml=unit_{session.python}_sponge_log.xml",
209211
"--cov=google",
210212
"--cov-append",

0 commit comments

Comments
 (0)