-
Notifications
You must be signed in to change notification settings - Fork 1
59 lines (54 loc) · 1.29 KB
/
ci.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI-Humble
on:
workflow_dispatch:
push:
branches:
- humble
pull_request:
branches:
- humble
env:
ROS_DISTRO: humble
jobs:
industrial_ci:
runs-on: ubuntu-20.04
strategy:
matrix:
ROS_REPO: [testing, main]
env:
ROS_REPO: ${{ matrix.ROS_REPO }}
steps:
- name: Checkout repo
uses: actions/checkout@v1
- name: Source tests
uses: "ros-industrial/industrial_ci@master"
env:
UPSTREAM_WORKSPACE: "github:LeoRover/leo_common-ros2#humble"
PYLINT_CHECK: true
PYLINT_ARGS: "--rcfile=src/leo_robot-ros2/.pylintrc"
ament_lint:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-20.04
container:
image: ros:humble
strategy:
fail-fast: false
matrix:
linter: [copyright, lint_cmake, mypy, uncrustify, xmllint]
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/[email protected]
with:
distribution: humble
linter: ${{ matrix.linter }}
package-name: |
leo_bringup
leo_fw
leo_robot
black_check:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Check formatting
uses: psf/black@stable