Skip to content

Fix CI checkout issue #13

Fix CI checkout issue

Fix CI checkout issue #13

Workflow file for this run

name: Build and Test (Galactic)
on:
push:
branches: [ galactic ]
pull_request:
branches: [ galactic ]
schedule:
- cron: '0 21 * * *'
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: osrf/ros:galactic-desktop-focal
steps:
- name: Setup git-lfs
run: apt-get update && apt-get install -y git-lfs && rm -rf /var/lib/apt/lists/*
- name: Check out
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Build rmoss_daheng_driver
uses: ros-tooling/[email protected]
with:
package-name: rmoss_daheng_driver
target-ros2-distro: galactic
vcs-repo-file-url: "${{ github.workspace }}/dependency.repos"
skip-tests: true
- name: Test rmoss_daheng_driver
run: |
. /opt/ros/galactic/setup.sh
cd ros_ws
colcon test --packages-select rmoss_daheng_driver --event-handlers console_cohesion+ --return-code-on-test-failure