Skip to content

Commit

Permalink
Skip highway tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed May 22, 2024
1 parent a20e9e7 commit bf2dcc9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_envs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
for env_spec in gym.envs.registry.values():
if type(env_spec.entry_point) is not str:
continue
if "highway" in env_spec.entry_point:
continue
# collect MO Gymnasium envs
if env_spec.entry_point.split(".")[0] == "mo_gymnasium":
all_testing_env_specs.append(env_spec)
Expand Down Expand Up @@ -46,7 +48,7 @@ def test_all_env_passive_env_checker(spec):
[
("MountainCar-v0", "mo-mountaincar-v0"),
("MountainCarContinuous-v0", "mo-mountaincarcontinuous-v0"),
("LunarLander-v2", "mo-lunar-lander-v2"),
("LunarLander-v3", "mo-lunar-lander-v3"),
# ("Reacher-v4", "mo-reacher-v4"), # use a different model and action space
("Hopper-v4", "mo-hopper-v4"),
("HalfCheetah-v4", "mo-halfcheetah-v4"),
Expand Down

0 comments on commit bf2dcc9

Please sign in to comment.