mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
feat(ci): python test speedups
This commit is contained in:
parent
f6d1fd511c
commit
7fe1cb384e
2 changed files with 10 additions and 3 deletions
|
|
@ -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+;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue