syzkaller/codecov.yml
Dmitry Vyukov 5ee7e3e388 codecov.yml: switch to informational mode
Informational mode should always produce "pass" result:
https://docs.codecov.io/docs/commit-status#informational

I can't get anything useful of these notifications.
E.g. now we have patches that add 1 line,
which gives 0% patch coverage, which results in a failure.
But we have some packages/commands not tested at all,
so we can't require contributors to make that covered.

For overall project coverage I also have not seen
any useful pass/fail results. The criteria highly depends
on the nature of the change. If we set the threshold too low,
we will get lots of effectively false failures. The current 50%
setting effectively means "never fail" anyway.
2020-06-17 17:18:23 +02:00

25 lines
562 B
YAML

# Copyright 2020 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
# See https://docs.codecov.io/docs/codecovyml-reference
# Validate with curl --data-binary @codecov.yml https://codecov.io/validate
codecov:
require_ci_to_pass: no
coverage:
precision: 1
round: nearest
range: "50...75"
status:
project:
default:
informational: true
comment:
layout: "files"
after_n_builds: 2
fixes:
- "gopath/src/github.com/google/syzkaller/::"