Skip to content

Commit d8f04d8

Browse files
Gate SDP backend tests on ovphysx wheel availability
The CI test-isaaclab-ov job filters test files by the "isaaclab_ov" substring pattern, which incidentally sweeps in isaaclab_ovphysx tests even though the OVPhysX wheel is not installed in that job's container. The existing OVPhysX asset tests already guard with ``pytest.importorskip("ovphysx.types", reason="ovphysx wheel not installed")`` at module top to skip gracefully instead of failing collection. Apply the same guard here.
1 parent 49a64ed commit d8f04d8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

source/isaaclab_ovphysx/test/physics/test_ovphysx_scene_data_backend.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010
from types import SimpleNamespace
1111

12+
import pytest
13+
14+
# The CI isaaclab_ov* pattern unintentionally collects isaaclab_ovphysx tests,
15+
# but the ovphysx wheel is not installed in that environment. Skip gracefully
16+
# so the isaaclab_ov CI pipeline is not blocked by an unrelated dependency.
17+
pytest.importorskip("ovphysx.types", reason="ovphysx wheel not installed")
18+
1219

1320
def _make_stub_binding(prim_paths: list[str]) -> SimpleNamespace:
1421
"""Stub an ovphysx ``TensorBinding`` exposing ``shape``, ``count``, ``prim_paths``, and ``read(dst)``."""

0 commit comments

Comments
 (0)