forked from OpenDevicePartnership/patina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
32 lines (32 loc) · 1.02 KB
/
codecov.yml
File metadata and controls
32 lines (32 loc) · 1.02 KB
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
# @file codecov.yml
#
# Codecov configuration file for Patina repositories.
#
# NOTE: This file is automatically synchronized from Patina DevOps. Update the original file there
# instead of the file in this repo.
#
# - Patina DevOps Repo: https://github.com/OpenDevicePartnership/patina-devops
# - File Sync Settings: https://github.com/OpenDevicePartnership/patina-devops/blob/main/.sync/Files.yml
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: Apache-2.0
##
codecov:
require_ci_to_pass: true
coverage:
precision: 2
round: nearest
range: 80..90 # 0-79% red, 80-89% yellow, 90-100% green
status:
project:
default:
target: 80% # Target 80% coverage for the project
only_pulls: true
patch:
default:
target: 80% # Target 80% coverage for the patch
only_pulls: true
comment:
after_n_builds: 2
layout: "condensed_header, condensed_files, condensed_footer"
hide_project_coverage: true # Only show patch coverage in a PR comment