Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/pytest-slow
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -euo pipefail

. .venv/bin/activate
exec pytest --numprocesses=auto "$@" -m 'not (tool or mujoco)' dimos
exec pytest "$@" -m 'not (tool or mujoco)' dimos
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
unitree_g1_nav_sim,
)

pytestmark = [pytest.mark.skipif_in_ci, pytest.mark.skipif_macos]
pytestmark = [pytest.mark.self_hosted, pytest.mark.skipif_in_ci, pytest.mark.skipif_macos]


class TestCrossWallPlanning:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
unitree_g1_nav_sim,
)

pytestmark = [pytest.mark.skipif_in_ci, pytest.mark.skipif_macos]
pytestmark = [pytest.mark.self_hosted, pytest.mark.skipif_in_ci, pytest.mark.skipif_macos]


class TestCrossWallPlanningSimple:
Expand Down
2 changes: 2 additions & 0 deletions dimos/simulation/unity/test_unity_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
_is_linux_x86 = platform.system() == "Linux" and platform.machine() in ("x86_64", "AMD64")
_has_display = bool(os.environ.get("DISPLAY"))

pytestmark = pytest.mark.self_hosted


class _MockTransport:
def __init__(self):
Expand Down
2 changes: 1 addition & 1 deletion docs/development/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The default `addopts` in `pyproject.toml` includes a `-m` filter that excludes `
./bin/pytest-slow
```

(Shortcut for `pytest --numprocesses=auto -m 'not (tool or mujoco)' dimos` — runs the default suite *and* self-hosted tests, but not `tool` or `mujoco`.)
(Shortcut for `pytest -m 'not (tool or mujoco)' dimos` — runs the default suite *and* self-hosted tests, but not `tool` or `mujoco`.)

When writing or debugging a specific self-hosted test, override `-m` yourself to run it:

Expand Down
Loading