Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/cpu_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ jobs:
matrix:
python-version: ["3.12"]
test-file:
- tests/unit/envs/ --ignore=tests/unit/envs/test_scienceworld_env.py
- tests/unit/rewards/ --ignore=tests/unit/rewards/swe/
- tests/unit/envs/ --ignore=tests/unit/envs/test_scienceworld_env.py --ignore=tests/unit/envs/test_webshop_text_env.py
- tests/unit/rewards/ --ignore=tests/unit/rewards/swe/ --ignore=tests/unit/rewards/test_webshop_reward.py
- tests/unit/tools/ --ignore=tests/unit/tools/test_webshop_tool.py --ignore=tests/unit/tools/test_scienceworld_tool.py
- tests/unit/resources/
- tests/unit/foundations/
# - test/unit/agents/ # TODO: recheck this

steps:
Expand Down
19 changes: 0 additions & 19 deletions tests/unit/envs/test_webshop_text_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,6 @@
"attributes",
]

# @pytest.mark.asyncio
# async def test_env_initialization():
# env = WebAgentTextEnv()
# assert env.image == "rifoag/webshop-simulator-env:latest"
# assert env.runtime == "runc"
# assert env.cpu == 2
# assert env.mem == "2g"
# assert env.host_ip == "127.0.0.1"
# assert env.observation_mode == 'text'

# @pytest.mark.asyncio
# async def test_env_start_and_close():
# env = WebAgentTextEnv()
# await env.start()
# assert env._client is not None
# await env.reset()
# await env.close()
# assert env._client is None


@pytest.mark.asyncio
async def test_env_full_shopping_flow(local_runner):
Expand Down
Loading