Skip to content

test: fix contributing test setup - #2

Open
han-xudong wants to merge 1 commit into
robot-i-o:mainfrom
han-xudong:han-xudong/fix-contributing-tests
Open

test: fix contributing test setup#2
han-xudong wants to merge 1 commit into
robot-i-o:mainfrom
han-xudong:han-xudong/fix-contributing-tests

Conversation

@han-xudong

@han-xudong han-xudong commented Jul 10, 2026

Copy link
Copy Markdown

Summary

  • add the missing dev extra required by uv run --extra dev pytest -n 4
  • skip optional policy backends when their large runtime dependencies are not installed
  • fix policy interface test configuration and middleware kwargs passthrough
  • isolate middleware test ports so xdist workers do not collide
  • resolve snake_case policy modules such as GearSonic / GearSonicPlanner

Issue

Fixes #4.

Validation

  • uv run --extra dev pytest -n 4 -q
  • uvx ruff check pyproject.toml rio/_tests/test_mw.py rio/_tests/test_policy.py rio/_tests/test_policy_node.py rio/_tests/test_safety.py rio/envs/factory.py rio/policies/policy_interface.py
  • uvx ruff format --check pyproject.toml rio/_tests/test_mw.py rio/_tests/test_policy.py rio/_tests/test_policy_node.py rio/_tests/test_safety.py rio/envs/factory.py rio/policies/policy_interface.py
  • uvx typos --diff pyproject.toml rio/_tests/test_mw.py rio/_tests/test_policy.py rio/_tests/test_policy_node.py rio/_tests/test_safety.py rio/envs/factory.py rio/policies/policy_interface.py

Notes

This keeps optional VLA / humanoid policy tests collected, but skips them when their documented optional dependencies are absent.

@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview for robotio-docs ready!

Name Link
🔨 Latest commit a1cca2c
🔍 Latest deploy log https://app.netlify.com/projects/robotio-docs/deploys/6a505c57a5255e0008a1989f
😎 Deploy Preview https://deploy-preview-2--robotio-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the documented contributing test command pass

1 participant