Update README.md with CI badge #8
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: rolling | |
on: | |
pull_request: | |
branches: | |
- rolling | |
push: | |
branches: | |
- rolling | |
schedule: | |
- cron: '0 0 * * 6' | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup ROS 2 | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: rolling | |
- name: Install deps for testing | |
run: sudo apt-get install ros-rolling-vision-msgs | |
- name: build and test | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: cs4home_core | |
target-ros2-distro: rolling | |
colcon-defaults: | | |
{ | |
"test": { | |
"parallel-workers" : 1 | |
} | |
} | |
colcon-mixin-name: coverage-gcc | |
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml | |
- name: Codecov | |
uses: codecov/[email protected] | |
with: | |
file: ros_ws/lcov/total_coverage.info | |
flags: unittests | |
name: codecov-umbrella | |
# yml: ./codecov.yml | |
fail_ci_if_error: false |