Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Paul Rouanet
ros2_control_bolt
Commits
b87930d4
Unverified
Commit
b87930d4
authored
May 06, 2020
by
Denis Štogl
Browse files
Add support for GitHub actions
parent
02ada99e
Changes
3
Hide whitespace changes
Inline
Side-by-side
.github/workflows/lint.yml
0 → 100644
View file @
b87930d4
name
:
Lint ros2_control_demos
on
:
pull_request
:
jobs
:
ament_copyright
:
name
:
ament_copyright
runs-on
:
ubuntu-18.04
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
ros-tooling/setup-ros@0.0.13
-
uses
:
ros-tooling/action-ros-lint@0.0.5
with
:
linter
:
copyright
package-name
:
ros2_control_demo_communication_gazebo ros2_control_demo_communication_headless ros2_control_demo_hardware ros2_control_demo_robot
ament_xmllint
:
name
:
ament_xmllint
runs-on
:
ubuntu-18.04
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
ros-tooling/setup-ros@0.0.13
-
uses
:
ros-tooling/action-ros-lint@0.0.5
with
:
linter
:
xmllint
package-name
:
ros2_control_demo_communication_gazebo ros2_control_demo_communication_headless ros2_control_demo_hardware ros2_control_demo_robot
ament_lint_cpp
:
name
:
ament_${{ matrix.linter }}
runs-on
:
ubuntu-18.04
strategy
:
fail-fast
:
false
matrix
:
linter
:
[
cppcheck
,
cpplint
,
uncrustify
]
steps
:
-
uses
:
actions/checkout@v1
-
uses
:
ros-tooling/setup-ros@0.0.13
-
uses
:
ros-tooling/action-ros-lint@0.0.5
with
:
linter
:
${{ matrix.linter }}
package-name
:
ros2_control_demo_communication_gazebo ros2_control_demo_communication_headless ros2_control_demo_hardware ros2_control_demo_robot
.github/workflows/test.yml
0 → 100644
View file @
b87930d4
name
:
Test ros2_control_demos
on
:
pull_request
:
push
:
branches
:
-
master
schedule
:
# Run every morning to detect flakiness and broken dependencies
-
cron
:
'
17
8
*
*
*'
jobs
:
build_and_test
:
runs-on
:
ubuntu-18.04
strategy
:
fail-fast
:
false
steps
:
-
uses
:
ros-tooling/setup-ros@0.0.13
-
uses
:
ros-tooling/action-ros-ci@0.0.13
with
:
package-name
:
ros2_control_demo_communication_gazebo ros2_control_demo_communication_headless ros2_control_demo_hardware ros2_control_demo_robot
colcon-mixin-name
:
coverage-gcc
colcon-mixin-repository
:
https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
-
uses
:
codecov/codecov-action@v1
with
:
token
:
${{ secrets.CODECOV_TOKEN }}
file
:
ros_ws/lcov/total_coverage.info
flags
:
unittests
name
:
codecov-umbrella
yml
:
./codecov.yml
fail_ci_if_error
:
true
-
uses
:
actions/upload-artifact@master
with
:
name
:
colcon-logs-${{ matrix.os }}
path
:
ros_ws/log
codecov.yml
0 → 100644
View file @
b87930d4
fixes
:
-
"
ros_ws/src/ros2_control_demos/::"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment