diff --git a/README.md b/README.md index bb02128..cad0d7b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Build Status](https://open-cas-logs.s3.us-east-2.amazonaws.com/master-status/build/curr-badge.svg)](https://open-cas-logs.s3.us-east-2.amazonaws.com/master-status/build/build.html) [![Tests Status](https://open-cas-logs.s3.us-east-2.amazonaws.com/master-status/tests/curr-badge.svg)](https://open-cas-logs.s3.us-east-2.amazonaws.com/master-status/tests/index.html) [![Coverity status](https://scan.coverity.com/projects/19083/badge.svg)](https://scan.coverity.com/projects/open-cas-ocf) +[![codecov](https://codecov.io/gh/Open-CAS/ocf/branch/master/graph/badge.svg)](https://codecov.io/gh/Open-CAS/ocf) [![License](https://open-cas-logs.s3.us-east-2.amazonaws.com/master-status/license-badge.svg)](LICENSE) Open CAS Framework (OCF) is high performance block storage caching meta-library diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..dc421a3 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,25 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: "60...100" + + status: + project: yes + patch: yes + changes: no + +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +comment: + layout: "diff,flags,tree" + behavior: default + require_changes: no diff --git a/tests/functional/.gitignore b/tests/functional/.gitignore index 5b925c1..76988e6 100644 --- a/tests/functional/.gitignore +++ b/tests/functional/.gitignore @@ -4,3 +4,6 @@ pyocf/libocf.so *.o pyocf/ocf/* *.pyc +*.gcov +*.gcda +*.gcno