Merge pull request #3 from Juancams/main #1
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
name: main | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
ROS2: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup ROS 2 environment | |
uses: ros-tooling/[email protected] | |
with: | |
ros-distro: humble | |
- name: Build ROS 2 package | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: coresense_instrumentation_driver coresense_instrumentation_interfaces | |
target-ros2-distro: humble | |
colcon-defaults: | | |
{ | |
"build": { | |
"mixin": ["coverage-gcc"] | |
} | |
} | |
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/1ddb69bedfd1f04c2f000e95452f7c24a4d6176b/index.yaml | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |