-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (44 loc) · 1.32 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: main
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
container:
image: osrf/ros:humble-desktop
strategy:
matrix:
os: [ubuntu-22.04]
fail-fast: false
steps:
- name: Install deps
run: sudo apt-get update && sudo apt-get install -y wget python3-vcstool python3-colcon-coveragepy-result libfl-dev
- name: Create custom repos
run: wget -O /tmp/all.repos https://raw.githubusercontent.com/CoreSenseEU/ROS2_seminar/main/third_parties.repos
- name: build and test
uses: ros-tooling/action-ros-ci@0.2.6
with:
package-name: obstacle_detector
target-ros2-distro: humble
vcs-repo-file-url: /tmp/all.repos
colcon-defaults: |
{
"test": {
"parallel-workers" : 1
}
}
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Codecov
uses: codecov/codecov-action@v2.0.2
with:
files: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
# yml: ./codecov.yml
fail_ci_if_error: false