Skip to content

Commit 4c4aba9

Browse files
author
Arne Nordmann
committed
Seperate CI for focal and jammy. Added humble distro
Signed-off-by: Arne Nordmann <github@norro.de>
1 parent 682ecb7 commit 4c4aba9

File tree

2 files changed

+47
-6
lines changed

2 files changed

+47
-6
lines changed

.github/workflows/ci.yaml renamed to .github/workflows/ci-focal.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "CI: foxy, galactic, rolling"
1+
name: "CI: foxy, galactic on focal"
22

33
on:
44
push:
@@ -16,15 +16,15 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ ubuntu-20.04 ]
19-
ros_distribution: [ foxy, galactic, rolling ]
19+
ros_distribution: [ foxy, galactic ]
2020
steps:
21-
- uses: actions/checkout@v2.3.4
22-
- uses: ros-tooling/setup-ros@v0.2
21+
- uses: actions/checkout@v3
22+
- uses: ros-tooling/setup-ros@v0.3
2323
with:
2424
required-ros-distributions: ${{ matrix.ros_distribution }}
2525
- uses : ros-tooling/action-ros-ci@v0.2
2626
with:
27-
package-name: "launch_system_modes system_modes system_modes_examples system_modes_msgs test_launch_system_modes "
27+
package-name: "launch_system_modes system_modes system_modes_examples system_modes_msgs test_launch_system_modes"
2828
target-ros2-distro: ${{ matrix.ros_distribution }}
2929
colcon-defaults: |
3030
{
@@ -36,6 +36,6 @@ jobs:
3636
}
3737
}
3838
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
39-
- uses: codecov/codecov-action@v1.5.0
39+
- uses: codecov/codecov-action@v3
4040
with:
4141
file: ros_ws/lcov/total_coverage.info

.github/workflows/ci-jammy.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "CI: humble-rolling on jammy"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
schedule:
9+
# Run once per day to detect broken dependencies.
10+
- cron: '17 5 * * *'
11+
12+
jobs:
13+
build:
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ ubuntu-22.04 ]
19+
ros_distribution: [ foxy, galactic ]
20+
steps:
21+
- uses: actions/checkout@v3
22+
- uses: ros-tooling/setup-ros@v0.3
23+
with:
24+
required-ros-distributions: ${{ matrix.ros_distribution }}
25+
- uses : ros-tooling/action-ros-ci@v0.2
26+
with:
27+
package-name: "launch_system_modes system_modes system_modes_examples system_modes_msgs test_launch_system_modes"
28+
target-ros2-distro: ${{ matrix.ros_distribution }}
29+
colcon-defaults: |
30+
{
31+
"build": {
32+
"mixin": ["coverage-gcc", "coverage-pytest"]
33+
},
34+
"test": {
35+
"mixin": ["coverage-pytest"]
36+
}
37+
}
38+
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
39+
- uses: codecov/codecov-action@v3
40+
with:
41+
file: ros_ws/lcov/total_coverage.info

0 commit comments

Comments
 (0)