Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Added CI #1

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and test

on:
pull_request:
push:
branches:
- master

jobs:
build-and-test:
runs-on: ubuntu-20.04
container: ros:foxy

steps:
- name: Check out repo
uses: actions/checkout@v2

- name: Install missing dependencies
run: rosdep update && DEBIAN_FRONTEND=noninteractive sudo rosdep install --from-paths . --ignore-src --rosdistro foxy -y

- name: Build
run: . /opt/ros/foxy/setup.sh && colcon build --event-handlers console_cohesion+

- name: Run tests
run: . /opt/ros/foxy/setup.sh && colcon test --event-handlers console_cohesion+