From db60c1ea7a386a7e86064d4184940d67bcfc7777 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Sat, 20 Apr 2019 16:33:11 +0200 Subject: [PATCH] Tests: enable coverage processing --- .codecov.yml | 16 ++++++++++++++++ tests/executeUnitTests.sh | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .codecov.yml 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