Skip to content

Commit 1538c91

Browse files
[CI] Code coverage + pre-commit (ros-controls#1413)
1 parent 1cc73c2 commit 1538c91

16 files changed

+146
-150
lines changed

.github/workflows/ci-coverage-build.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/ci-format.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/ci-ros-lint.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Coverage Build - Humble
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- humble
7+
pull_request:
8+
branches:
9+
- humble
10+
11+
jobs:
12+
coverage_humble:
13+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master
14+
secrets: inherit
15+
with:
16+
ros_distro: humble
17+
os_name: ubuntu-22.04
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Pre-Commit - Humble
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- humble
8+
9+
jobs:
10+
pre-commit:
11+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
12+
with:
13+
ros_distro: humble
14+
os_name: ubuntu-22.04
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Coverage Build - Iron
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- iron
7+
pull_request:
8+
branches:
9+
- iron
10+
11+
jobs:
12+
coverage_iron:
13+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master
14+
secrets: inherit
15+
with:
16+
ros_distro: iron
17+
os_name: ubuntu-22.04
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Pre-Commit - Iron
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- iron
8+
9+
jobs:
10+
pre-commit:
11+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
12+
with:
13+
ros_distro: iron
14+
os_name: ubuntu-22.04
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Coverage Build - Rolling
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
coverage_rolling:
13+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master
14+
secrets: inherit
15+
with:
16+
ros_distro: rolling
17+
os_name: ubuntu-22.04
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Pre-Commit - Rolling
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
pre-commit:
11+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master
12+
with:
13+
ros_distro: rolling
14+
os_name: ubuntu-22.04
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Auto Update pre-commit
2+
# Update pre-commit config and create PR if changes are detected
3+
# author: Christoph Fröhlich <[email protected]>
4+
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: '0 0 * * 0' # Run every Sunday at midnight
9+
10+
jobs:
11+
auto_update_and_create_pr:
12+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-update-pre-commit.yml@master

0 commit comments

Comments
 (0)