diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..054d7be --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: Test +on: + pull_request: + push: + branches: + - humble + +jobs: + build_and_test: + runs-on: ubuntu-latest + env: + ROS_DISTRO: ${{ matrix.ros_distro }} + container: + image: rostooling/setup-ros-docker:ubuntu-jammy-latest + strategy: + fail-fast: false + matrix: + ros_distro: [humble] + steps: + - name: Build and run tests + id: action-ros-ci + uses: ros-tooling/action-ros-ci@v0.3 + with: + target-ros2-distro: ${{ matrix.ros_distro }} + - uses: actions/upload-artifact@v1 + with: + name: colcon-logs + path: ros_ws/log diff --git a/behaviortree_ros2/package.xml b/behaviortree_ros2/package.xml index a1b5ab7..59c0de5 100644 --- a/behaviortree_ros2/package.xml +++ b/behaviortree_ros2/package.xml @@ -11,6 +11,7 @@ ament_cmake + libboost-dev rclcpp rclcpp_action behaviortree_cpp