-
Notifications
You must be signed in to change notification settings - Fork 53
59 lines (58 loc) · 1.51 KB
/
test.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
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Test geometry_tutorials
on:
pull_request:
push:
branches:
- ros2
jobs:
build_and_test_source_rolling:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-noble-latest
steps:
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/[email protected]
with:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: rolling
vcs-repo-file-url: https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_CXX_FLAGS=\"-Werror\""
]
},
"test": {
"ctest-args": ["-LE", "xfail"],
"pytest-args": ["-m", "not xfail"]
}
}
build_and_test_binaries_rolling:
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-noble-latest
steps:
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/[email protected]
with:
package-name: |
turtle_tf2_py
turtle_tf2_cpp
target-ros2-distro: rolling
colcon-defaults: |
{
"build": {
"cmake-args": [
"-DCMAKE_CXX_FLAGS=\"-Werror\""
]
},
"test": {
"ctest-args": ["-LE", "xfail"],
"pytest-args": ["-m", "not xfail"]
}
}