Skip to content

Commit

Permalink
[CI] Codecov (#130)
Browse files Browse the repository at this point in the history
* Add codecov settings

* Add badge

* Run coverage on master

---------

Co-authored-by: Bence Magyar <[email protected]>
  • Loading branch information
christophfroehlich and bmagyar authored Nov 14, 2023
1 parent 6c0ea66 commit 6b56e7d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-coverage-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Coverage Build
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
realtime_tools
===========
[![codecov](https://codecov.io/gh/ros-controls/realtime_tools/graph/badge.svg?token=Osge1FOaAh)](https://codecov.io/gh/ros-controls/realtime_tools)

See [control.ros.org](http://control.ros.org) and [realtime_tools](http://wiki.ros.org/realtime_tools) documentation on ros.org


Expand Down
16 changes: 16 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
coverage:
precision: 2
round: down
range: "35...100"
status:
project:
default:
informational: true
patch: off
fixes:
- "ros_ws/src/realtime_tools/::"
ignore:
- "**/test"
comment:
layout: "diff, flags, files"
behavior: default

0 comments on commit 6b56e7d

Please sign in to comment.