-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Code coverage + pre-commit (#1413)
(cherry picked from commit 1538c91) # Conflicts: # .github/workflows/ci-coverage-build.yml # .github/workflows/ci-format.yml # .github/workflows/ci-ros-lint.yml # .pre-commit-config.yaml
- Loading branch information
1 parent
3e81cee
commit b20b149
Showing
13 changed files
with
165 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Coverage Build - Humble | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- humble | ||
pull_request: | ||
branches: | ||
- humble | ||
|
||
jobs: | ||
coverage_humble: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master | ||
secrets: inherit | ||
with: | ||
ros_distro: humble | ||
os_name: ubuntu-22.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Pre-Commit - Humble | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- humble | ||
|
||
jobs: | ||
pre-commit: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master | ||
with: | ||
ros_distro: humble | ||
os_name: ubuntu-22.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Coverage Build - Iron | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- iron | ||
pull_request: | ||
branches: | ||
- iron | ||
|
||
jobs: | ||
coverage_iron: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master | ||
secrets: inherit | ||
with: | ||
ros_distro: iron | ||
os_name: ubuntu-22.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Pre-Commit - Iron | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- iron | ||
|
||
jobs: | ||
pre-commit: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master | ||
with: | ||
ros_distro: iron | ||
os_name: ubuntu-22.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Coverage Build - Rolling | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
coverage_rolling: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master | ||
secrets: inherit | ||
with: | ||
ros_distro: rolling | ||
os_name: ubuntu-22.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Pre-Commit - Rolling | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
pre-commit: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-pre-commit.yml@master | ||
with: | ||
ros_distro: rolling | ||
os_name: ubuntu-22.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Auto Update pre-commit | ||
# Update pre-commit config and create PR if changes are detected | ||
# author: Christoph Fröhlich <[email protected]> | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * 0' # Run every Sunday at midnight | ||
|
||
jobs: | ||
auto_update_and_create_pr: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-update-pre-commit.yml@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters