Skip to content

9. Tests and continuous integration ​

9.1 Tests ​

PackageTestsPackageTests
x30_navigation261x30_health62
x30_driver129x30_inspection60
x30_sim95x30_localization50
x30_control93x30_bridge32
x30_perception83x30_fleet32
x30_utils82x30_recorder23
x30_odometry72x30_description6
x30_bringup66all1146
  • 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 ruff on every package (ruff.toml), shellcheck on 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).