9. Tests and continuous integration
9.1 Tests
| Package | Tests | Package | Tests |
|---|---|---|---|
| x30_navigation | 261 | x30_health | 62 |
| x30_driver | 129 | x30_inspection | 60 |
| x30_sim | 95 | x30_localization | 50 |
| x30_control | 93 | x30_bridge | 32 |
| x30_perception | 83 | x30_fleet | 32 |
| x30_utils | 82 | x30_recorder | 23 |
| x30_odometry | 72 | x30_description | 6 |
| x30_bringup | 66 | all | 1146 |
- Unit tests (
test/unit, pytest) of the pure cores: the braking model, the field, the EKF, the follower’s state machine, path shift, the criteria, the protocols, without ROS. - Node tests (
test/ros, rostest) on a ROS master: the nodes with their real parameters, topics and services, the simulated X30 driving routes end to end, a fake NETRA for the uplink, the gateway with a simulated handheld (teleop_rig.py). - Style
ruffon every package (ruff.toml),shellcheckon the tools.
9.2 CI
GitHub Actions on every pull request and on main, in the ros:noetic-ros-base container: the dependencies from the packages’ manifests, catkin_make and every test with its failures as annotations, the URDF checked, the shell scripts; a second job builds and tests the NeuPAN controller in its environment. The documentation’s workflow builds the PDFs and the website from docs/ and publishes the site on GitHub Pages.
9.3 Versions
One version for the whole stack, in every package.xml and in CHANGELOG.md (Keep a Changelog, Semantic Versioning).