Commit 922cd72
committed
Skip test_rigid_object.py when the ovphysx wheel is absent
The isaaclab_ov CI job's glob collects all ``test/`` files under
``source/isaaclab_ov*``, including the isaaclab_ovphysx tests. The
other three ovphysx tests in this directory already guard their
isaaclab_ovphysx imports with ``pytest.importorskip("ovphysx.types",
reason="ovphysx wheel not installed")``; only ``test_rigid_object.py``
went straight to a top-level ``from isaaclab_ovphysx.assets import
RigidObject``, which raised ``ModuleNotFoundError`` at collection
time and failed the entire isaaclab_ov job in the CI image (where
the ovphysx wheel is not installed).
Add the same ``importorskip`` guard so the file is skipped cleanly
in that environment, matching the established pattern.1 parent 53cf7c1 commit 922cd72
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
0 commit comments