Skip to content

Commit 92ed04d

Browse files
committed
add --max-worker-restart
1 parent a74cee5 commit 92ed04d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ run = [
8282
'hatch --env default run "src/build_scripts/install_playwright.py"',
8383
"hatch --env default run javascript:build --dev",
8484
"hatch --env default build -t wheel",
85-
"pytest{env:HATCH_TEST_ARGS:} {args}",
85+
"pytest{env:HATCH_TEST_ARGS:} {args} --max-worker-restart 10",
8686
]
8787
run-cov = [
8888
'hatch --env default run "src/build_scripts/install_playwright.py"',
8989
"hatch --env default run javascript:build --dev",
9090
"hatch --env default build -t wheel",
9191
'hatch --env default run "src/build_scripts/delete_old_coverage.py"',
92-
"coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}",
92+
"coverage run -m pytest{env:HATCH_TEST_ARGS:} {args} --max-worker-restart 10",
9393
]
9494
cov-combine = "coverage combine"
9595
cov-report = "coverage report"

0 commit comments

Comments
 (0)