Continuous Integration - RoBorregos/robocup-home GitHub Wiki
Building
Our continuous integration system is running on Github Actions in the .github/workflows/catkin.yml
file.
Whenever there's a pull request to the develop branch, a new job is scheduled to run. An Ubuntu 18.04 machine running ROS Melodic is configured using the workflow created by betwo
Part of the ROS installation includes catkin, and after installing everything the following command is executed to ensure that the catkin workspace is building correctly:
catkin_make_isolated
Testing
After verifying that the workspace health is ok, we proceed to test everything calling:
catkin_make_isolated --catkin-make-args run_tests
which generates a result file that is checked with
a bash script called check_test_result.sh
.
If building completes correctly and all the tests are successful, the action allows the merge to develop.