Repository navigation
ci: gate builds on repository simulation asset tests - #1
Merged
nitesh4146 merged 1 commit intoOct 30, 2026
Merged
Conversation
nitesh4146
requested review from
nitesh4146
and
a balanced review from Copilot
October 30, 2026 21:56
nitesh4146
approved these changes
Oct 30, 2026
There was a problem hiding this comment.
🟢 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 -qbefore 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repository has seven Gazebo asset and launch-wiring regression tests under
tests/, but CI only runscolcon 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 -qin 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.