mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-14 14:12:44 +00:00
wip wip wip pluginify everything
This commit is contained in:
parent
4117fc3645
commit
10421ec9ee
308 changed files with 8019 additions and 5246 deletions
|
|
@ -30,7 +30,7 @@ Usage:
|
|||
|
||||
Environment:
|
||||
HERMES_TEST_WORKERS Override worker count (default: os.cpu_count())
|
||||
HERMES_TEST_PATHS Override discovery roots (colon-sep, default: 'tests')
|
||||
HERMES_TEST_PATHS Override discovery roots (colon-sep, default: 'tests:plugins')
|
||||
|
||||
Exit code: 0 if every file's pytest exited 0; 1 otherwise.
|
||||
"""
|
||||
|
|
@ -50,7 +50,7 @@ from typing import Dict, List, Tuple
|
|||
|
||||
|
||||
# Default test discovery roots.
|
||||
_DEFAULT_ROOTS = ["tests"]
|
||||
_DEFAULT_ROOTS = ["tests", "plugins"]
|
||||
|
||||
# Directories to skip during discovery — these suites require real
|
||||
# external services (a model gateway, a docker daemon with a prebuilt
|
||||
|
|
@ -286,6 +286,7 @@ def _run_one_file(
|
|||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
text=True,
|
||||
env={**os.environ, "HERMES_PARALLEL_RUNNER": "1"},
|
||||
# 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