-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christophe Bedard <[email protected]>
- Loading branch information
1 parent
1c206c7
commit 9c0b367
Showing
3 changed files
with
74 additions
and
0 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,51 @@ | ||
name: Test | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-20.04 | ||
build-type: binary | ||
- os: ubuntu-20.04 | ||
build-type: source | ||
- os: macos-latest | ||
build-type: source | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ros-tooling/setup-ros@master | ||
with: | ||
required-ros-distributions: ${{ matrix.build-type == 'binary' && 'rolling' || '' }} | ||
- name: Install LTTng | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -q -y lttng-tools liblttng-ust-dev python3-lttng python3-babeltrace python3-pandas | ||
if: startsWith(matrix.os, 'ubuntu-') | ||
- uses: ros-tooling/action-ros-ci@master | ||
with: | ||
package-name: ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace | ||
target-ros2-distro: rolling | ||
vcs-repo-file-url: ${{ matrix.build-type == 'source' && 'https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos' || '' }} | ||
colcon-defaults: | | ||
{ | ||
"build": { | ||
"mixin": [ | ||
"coverage-gcc", | ||
"coverage-pytest" | ||
] | ||
}, | ||
"test": { | ||
"mixin": [ | ||
"coverage-pytest" | ||
] | ||
} | ||
} | ||
- uses: codecov/codecov-action@v1 | ||
with: | ||
files: ros_ws/lcov/total_coverage.info,ros_ws/coveragepy/.coverage | ||
name: codecov-umbrella |
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,21 @@ | ||
name: DCO | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.x | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.x' | ||
- name: Check DCO | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
pip3 install -U dco-check | ||
dco-check --verbose |
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,3 +1,5 @@ | ||
fixes: | ||
- "/builds/ros-tracing/ros2_tracing/::" | ||
- "/builds/ros-tracing/ros2_tracing/install/tracetools/::tracetools/" | ||
- "/home/runner/work/ros2_tracing/ros2_tracing/ros_ws/src/ros2_tracing/::" | ||
- "/home/runner/work/ros2_tracing/ros2_tracing/ros_ws/install/tracetools/::tracetools/" |