Exclude non gym native envs from test for gym builtin envs.
This commit is contained in:
		
							parent
							
								
									d367ac0c4b
								
							
						
					
					
						commit
						db842db2b7
					
				@ -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']
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user