Skip to content

Commit acbd83c

Browse files
committed
add
1 parent aef0421 commit acbd83c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

eval_protocol/pytest/handle_persist_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def handle_persist_flow(all_results: list[list[EvaluationRow]], test_func_name:
8383

8484
should_upload = os.getenv("EP_NO_UPLOAD") != "1"
8585

86-
if should_upload:
86+
if not should_upload:
87+
continue
8788

8889
def get_auth_value(key: str) -> str | None:
8990
"""Get auth value from config file or environment."""

eval_protocol/pytest/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def pytest_configure(config) -> None:
264264
if threshold_env is not None:
265265
os.environ["EP_PASSED_THRESHOLD"] = threshold_env
266266

267-
if config.getoption("--ep-no-persist-results-jsonl"):
267+
if config.getoption("--ep-no-save-results-in-jsonl"):
268268
# flag to turn off persisting results as jsonl files
269269
os.environ["EP_NO_PERSIST_RESULTS_JSONL"] = "1"
270270

0 commit comments

Comments
 (0)