Skip to content

Update rmw_publish tracepoint arguments (#325) #761

Update rmw_publish tracepoint arguments (#325)

Update rmw_publish tracepoint arguments (#325) #761

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- rolling
jobs:
test:
name: "Build and test"
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
# - os: ubuntu-22.04
# build-type: binary
- os: ubuntu-22.04
build-type: source
# - os: macos-latest
# build-type: source
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/setup-ros@master
with:
required-ros-distributions: ${{ matrix.build-type == 'binary' && 'rolling' || '' }}
- uses: ros-tooling/action-ros-ci@master
id: action-ros-ci
with:
package-name: email email_examples rmw_email_cpp
target-ros2-distro: rolling
vcs-repo-file-url: |
${{ github.workspace }}/dependencies.repos
${{ matrix.build-type == 'source' && 'https://raw.githubusercontent.com/ros2/ros2/rolling/ros2.repos' || '' }}
import-token: ${{ secrets.GITHUB_TOKEN }}
colcon-defaults: |
{
"build": {
"mixin": [
"coverage-gcc"
]
}
}
- name: Generate coverage information separately
run: |
colcon lcov-result --packages-select email --filter **/email/test/* --lcov-base lcov-email --verbose
colcon lcov-result --packages-select rmw_email_cpp --filter **/rmw_email_cpp/test/* --lcov-base lcov-rmw_email_cpp --verbose
working-directory: ${{ steps.action-ros-ci.outputs.ros-workspace-directory-name }}
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ros_ws/lcov-email/total_coverage.info
flags: email
name: email
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ros_ws/lcov-rmw_email_cpp/total_coverage.info
flags: rmw-email-cpp
name: rmw-email-cpp