Skip to content

ci: gate builds on repository simulation asset tests - #1

Merged
nitesh4146 merged 1 commit into
rlxai:mainfrom
dylangriffinshub:codex/gate-simulation-assets
Oct 30, 2026
Merged

nitesh4146 merged 1 commit into
rlxai:mainfrom
dylangriffinshub:codex/gate-simulation-assets

Conversation

@dylangriffinshub

Copy link
Copy Markdown
Contributor

The repository has seven Gazebo asset and launch-wiring regression tests under tests/, but CI only runs colcon test. Those repository-level tests are outside ROS packages and are not registered with colcon, so a missing world model or broken launch forwarding can escape PR validation.

Run python3 -m pytest tests -q in the existing Jazzy CI container before rosdep/build, using the pytest dependency already installed by the workflow. Document the same command in the contribution checklist. A failing test stops the job.

Validation: all seven tests pass on macOS and in a clean Ubuntu 24.04 container; a temporary world referencing a missing model is rejected by the existing test; actionlint passes. This is static simulation-asset coverage, not a Gazebo runtime simulation. The local workspace build was attempted but cannot run because this Mac has no /opt/ros/jazzy/setup.bash; the existing ROS build/lint/test steps remain responsible for full-stack validation.

@nitesh4146
nitesh4146 requested review from nitesh4146 and a balanced review from Copilot October 30, 2026 21:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change adding simulation-asset regression tests to CI.

No open issues 🎉

What changed in this PR

This PR adds the repository’s simulation-asset regression tests to CI, covering checks that colcon test does not discover.

Changes:

  • Runs python3 -m pytest tests -q before dependency resolution and the ROS build, stopping the job if tests fail.
  • Documents the same local command and explains why these static asset and launch-wiring checks run separately from ROS package tests.
File Description
CONTRIBUTING.md Adds the pytest command and explains repository-level test coverage.
.github/​workflows/​ci.yml Adds a simulation-asset test step before rosdep and build.

Review effort: Balanced

@nitesh4146
nitesh4146 merged commit c3ffc74 into rlxai:main Oct 30, 2026
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.

3 participants