Skip to content

Commit 0144c9f

Browse files
author
Dylan Huang
committed
actually not necessary for local test since local-test mounts the workspace so it should include the .env file
1 parent 71599e6 commit 0144c9f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

eval_protocol/cli_commands/local_test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import sys
66
from typing import List
77

8-
from ..auth import get_dotenv_values
98
from .utils import _build_entry_point, _discover_and_select_tests
109

1110

@@ -72,12 +71,6 @@ def _run_pytest_in_docker(
7271
workdir,
7372
]
7473

75-
# Forward environment variables from .env file to the container
76-
dotenv_vars = get_dotenv_values(project_root)
77-
for key, value in dotenv_vars.items():
78-
if value is not None:
79-
cmd += ["-e", f"{key}={value}"]
80-
8174
# If EP_SUMMARY_JSON is set on the host, mirror it into the container so that
8275
# pytest evaluation tests can write summary artifacts that are visible to the
8376
# host. We map paths under the host logs directory (~/.eval_protocol) into the

0 commit comments

Comments
 (0)