skip peft cmd test in cli (#2776)

* skip peft cmd test in cli

* pre commit

* update desc
This commit is contained in:
Pepijn
2026-01-09 19:10:02 +01:00
committed by GitHub
parent 8b6fc0ae05
commit ba3d2148a3
@@ -7,6 +7,12 @@ from safetensors.torch import load_file
from .utils import require_package
# Skip this entire module in CI
pytestmark = pytest.mark.skipif(
os.environ.get("CI") == "true" or os.environ.get("GITHUB_ACTIONS") == "true",
reason="This test requires peft and is very slow, not meant for CI",
)
def run_command(cmd, module, args):
module = importlib.import_module(f"lerobot.scripts.{module}")