test(fast): align fast-test behavior with current runtime constraints

- gate PI0/PI0Fast tests on HF token availability for gated models

- update value infer viz tests to current API ownership and arguments

- align piper calibration assertion with runtime error message

- set HF_HUB_DISABLE_XET in fast_tests workflow
这个提交包含在:
Elvin
2026-03-06 16:31:02 +08:00
父节点 fa435f8312
当前提交 5975798aef
共有 5 个文件被更改,包括 22 次插入 和 10 次删除

查看文件

@ -23,8 +23,10 @@ import torch
# 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 local OpenPI installation and is not meant for CI",
os.environ.get("CI") == "true"
or os.environ.get("GITHUB_ACTIONS") == "true"
or not (os.environ.get("HF_TOKEN") or os.environ.get("HUGGING_FACE_HUB_TOKEN")),
reason="This test requires local OpenPI setup and authenticated HF access token",
)
from lerobot.configs.types import FeatureType, PolicyFeature, RTCAttentionSchedule # noqa: E402