From 7195ea0a7f491b0feea762f5739aeb0db9e89998 Mon Sep 17 00:00:00 2001 From: Andreas Gassner Date: Mon, 2 Jun 2025 09:40:45 +0200 Subject: [PATCH] add: github actions for build and test ros2 integration --- .github/workflows/ros2.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ros2.yml diff --git a/.github/workflows/ros2.yml b/.github/workflows/ros2.yml new file mode 100644 index 0000000..f1a9b16 --- /dev/null +++ b/.github/workflows/ros2.yml @@ -0,0 +1,25 @@ +name: ROS 2 workspace + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + schedule: + - cron: "0 0 * * 0" + +jobs: + test-in-devcontainer: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Build and test ROS 2 workspace + uses: devcontainers/ci@v0.3 + with: + subFolder: ./ros2 + runCmd: | + colcon build + colcon test + colcon test-result --verbose