-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ros2-master' into ci_ros_lint
- Loading branch information
Showing
2 changed files
with
10 additions
and
48 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 |
---|---|---|
|
@@ -9,42 +9,9 @@ on: | |
- ros2-master | ||
|
||
jobs: | ||
coverage: | ||
name: coverage build | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
env: | ||
ROS_DISTRO: rolling | ||
steps: | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: ${{ env.ROS_DISTRO }} | ||
- uses: actions/checkout@v4 | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
target-ros2-distro: ${{ env.ROS_DISTRO }} | ||
import-token: ${{ secrets.GITHUB_TOKEN }} | ||
# build all packages listed here | ||
package-name: | ||
control_toolbox | ||
|
||
vcs-repo-file-url: | | ||
https://raw.githubusercontent.com/${{ github.repository }}/${{ github.sha }}/control_toolbox.${{ env.ROS_DISTRO }}.repos?token=${{ secrets.GITHUB_TOKEN }} | ||
colcon-defaults: | | ||
{ | ||
"build": { | ||
"mixin": ["coverage-gcc"] | ||
} | ||
} | ||
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml | ||
- uses: codecov/[email protected] | ||
with: | ||
file: ros_ws/lcov/total_coverage.info | ||
flags: unittests | ||
name: codecov-umbrella | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- uses: actions/[email protected] | ||
with: | ||
name: colcon-logs-coverage-rolling | ||
path: ros_ws/log | ||
coverage_rolling: | ||
name: coverage build - rolling | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-build-coverage.yml@master | ||
secrets: inherit | ||
with: | ||
ros_distro: rolling |
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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
name: Reviewer lottery | ||
# pull_request_target takes the same events as pull_request, | ||
# but it runs on the base branch instead of the head branch. | ||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review, reopened] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
if: github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: uesteibar/reviewer-lottery@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
config: ros-controls/ros2_control_ci/.github/reviewer-lottery.yml | ||
assign_reviewers: | ||
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-reviewer-lottery.yml@master |