From b014a5b42a8bb6b82620ac137480f40197cbc74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eirik=20Kol=C3=A5s?= Date: Sat, 30 Sep 2023 15:49:29 +0200 Subject: [PATCH] try ci-action --- .github/workflows/ci-action.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci-action.yml diff --git a/.github/workflows/ci-action.yml b/.github/workflows/ci-action.yml new file mode 100644 index 0000000..74aae02 --- /dev/null +++ b/.github/workflows/ci-action.yml @@ -0,0 +1,29 @@ +name: CI Action + +on: + workflow_dispatch: + + push: + branches: [ main ] + + pull_request: + branches: [ main ] + +evv: + ROS_DISTRO: humble + + +jobs: + unit-test: + runs-on: ubuntu-latest + + steps: + - name: Install ROS + uses: ros-tooling/setup-ros@v0.6 + with: + required-ros-distro: ${{ env.ROS_DISTRO }} + - name: Build and run tests + uses: ros-tooling/action-ros-ci@v0.3 + with: + package_name: vortex-m3-sonar-driver + target-ros2-distros: ${{ env.ROS_DISTRO }}