feat(ci): python test speedups

This commit is contained in:
ethernet 2026-07-13 15:04:32 -04:00
parent f6d1fd511c
commit 7fe1cb384e
2 changed files with 10 additions and 3 deletions

View file

@ -260,8 +260,7 @@ def _run_one_file(
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
# skipping writing bytecode because we're running a bunch of parallel python processes on the same code
env={**os.environ, 'PYTHONDONTWRITEBYTECODE': '1'},
env=os.environ,
# POSIX: place the child at the head of its own process group so
# _kill_tree can SIGKILL the group atomically.
# Windows: this maps to CREATE_NEW_PROCESS_GROUP in CPython 3.12+;