generated from Apodini/Template-Repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
48 lines (43 loc) · 1.33 KB
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# This source file is part of the Apodini open source project
#
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <[email protected]>
#
# SPDX-License-Identifier: MIT
#
ignore:
- "Tests"
- "Sources/ApodiniMigratorCompare/LegacyChangeModel"
- "Sources/ProtocGRPCPluginLibrary/FieldDescriptorLike/FieldDescriptorLike+Naming.swift"
codecov:
require_ci_to_pass: yes
coverage:
range: "80...98"
precision: 2
round: up
status:
# The project status measures overall project coverage and compares it against the base of the pull request
project:
default:
# Choose a minimum coverage ratio that the commit must meet to be considered a success
target: auto
# Allow the coverage to drop by X%, and posting a success status.
threshold: 0.1%
# The patch status only measures lines adjusted in the pull request
patch:
default:
# Choose a minimum coverage ratio that the commit must meet to be considered a success
target: auto
# Allow the coverage to drop by X%, and posting a success status.
threshold: 0%
parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no
comment:
layout: "reach,diff,flags,files,footer"
behavior: default
require_changes: no