diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000000..baacc1fe12 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,16 @@ +codecov: + notify: + require_ci_to_pass: yes + +comment: + layout: "diff, files" + behavior: default + require_changes: false # if true: only post the comment if coverage changes + require_base: no # [yes :: must have a base report to post] + require_head: yes # [yes :: must have a head report to post] + +# don't gather statistics for tets and external libraries +ignore: + - tests/.* + - zip/.* + - 3rdParty/.* diff --git a/tests/executeUnitTests.sh b/tests/executeUnitTests.sh index 555b31abde..5d7b506562 100755 --- a/tests/executeUnitTests.sh +++ b/tests/executeUnitTests.sh @@ -75,5 +75,5 @@ if [ "${report}" = "yes" ]; then for T in lib sched; do [ -d "${T}" ] && gcov -lp *.o >/dev/null; done - codecov -X gcov + codecov fi