From db842db2b75a8e2b351a0c809ed301ea90a1d015 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 26 Nov 2023 17:59:08 +0100 Subject: [PATCH] Exclude non gym native envs from test for gym builtin envs. --- test/test_all_gym_builtin_envs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_all_gym_builtin_envs.py b/test/test_all_gym_builtin_envs.py index f2eeac6..9264b98 100644 --- a/test/test_all_gym_builtin_envs.py +++ b/test/test_all_gym_builtin_envs.py @@ -12,7 +12,9 @@ GYM_IDS = [spec.id for spec in gym.envs.registry.values() if not isinstance(spec.entry_point, Callable) and "fancy_gym" not in spec.entry_point and 'make_bb_env_helper' not in spec.entry_point and 'jax' not in spec.id.lower() - and 'jax' not in spec.id.lower() + and 'shimmy' not in spec.id.lower() + and 'ale_py' not in spec.id.lower() + and 'tabular' not in spec.id.lower() and not re.match(r'GymV2.Environment', spec.id) ] GYM_MP_IDS = fancy_gym.ALL_DMC_MOVEMENT_PRIMITIVE_ENVIRONMENTS['all']