Tests: enable coverage processing

This commit is contained in:
Christian Beer 2019-04-20 16:33:11 +02:00
parent 65096902c1
commit db60c1ea7a
2 changed files with 17 additions and 1 deletions

16
.codecov.yml Normal file
View File

@ -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/.*

View File

@ -75,5 +75,5 @@ if [ "${report}" = "yes" ]; then
for T in lib sched; do for T in lib sched; do
[ -d "${T}" ] && gcov -lp *.o >/dev/null; [ -d "${T}" ] && gcov -lp *.o >/dev/null;
done done
codecov -X gcov codecov
fi fi