Skip to content

Commit eb5f85c

Browse files
skip if OPENAI_API_KEY not defined (#872)
Former-commit-id: d89e6df
1 parent 9535c6c commit eb5f85c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dimos/robot/cli/test_dimos_robot_e2e.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def send_human_input(message: str) -> None:
143143

144144

145145
@pytest.mark.skipif(bool(os.getenv("CI")), reason="LCM spy doesn't work in CI.")
146+
@pytest.mark.skipif(not os.getenv("OPENAI_API_KEY"), reason="OPENAI_API_KEY not set.")
146147
def test_dimos_robot_demo_e2e(lcm_spy, dimos_robot_call, human_input) -> None:
147148
lcm_spy.wait_for_topic("/rpc/DemoCalculatorSkill/set_LlmAgent_register_skills/res")
148149
lcm_spy.wait_for_topic("/rpc/HumanInput/start/res")

0 commit comments

Comments
 (0)