Skip to content

Use Ansible for DevOps #1865

Use Ansible for DevOps

Use Ansible for DevOps #1865

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
container:
image: umrover1/ros:latest
options: --user root
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3
with:
lfs: "true"
path: "src"
- name: Initialize catkin workspace
run: . /opt/ros/noetic/setup.sh && catkin init
- name: Build
run: . /opt/ros/noetic/setup.sh && catkin build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_CLANG_TIDY=clang-tidy-12
- name: Python requirements
run: pip3 install -r $GITHUB_WORKSPACE/src/requirements.txt
- name: Test
run: . /opt/ros/noetic/setup.sh && . $GITHUB_WORKSPACE/devel/setup.sh && catkin test -j1