Skip to content

Commit

Permalink
Remove PPO controller from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amacati committed Jan 22, 2025
1 parent 86f40de commit 6eb3cf5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/integration/test_controllers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import importlib
from pathlib import Path

import gymnasium
Expand All @@ -9,11 +8,8 @@


@pytest.mark.integration
@pytest.mark.parametrize("controller_file", ["trajectory_controller.py", "ppo_controller.py"])
@pytest.mark.parametrize("controller_file", ["trajectory_controller.py"])
def test_controllers(controller_file: str):
if controller_file == "ppo_controller.py" and not importlib.util.find_spec("stable_baselines3"):
pytest.skip("Requires the stable baselines3 library")

config = load_config(Path(__file__).parents[2] / "config/level0.toml")
config.sim.gui = False
config.sim.physics = "analytical"
Expand Down

0 comments on commit 6eb3cf5

Please sign in to comment.