forked from SynEdgy/Sampler.DscPipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
35 lines (29 loc) · 916 Bytes
/
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
codecov:
require_ci_to_pass: no
# master should be the baseline for reporting
branch: main
comment:
layout: "reach, diff, flags, files"
behavior: default
coverage:
range: 50..80
round: down
precision: 0
status:
project:
default:
# Set the overall project code coverage requirement to 70%
target: 70
patch:
default:
# Set the pull request requirement to not regress overall coverage by more than 5%
# and let codecov.io set the goal for the code changed in the patch.
target: auto
threshold: 5
# This is not needed if the module only contain class-based resources.
fixes:
- '^\d+\.\d+\.\d+::source' # move path "X.Y.Z" => "source"
# Use this if there are paths that should not be part of the code coverage, for
# example a deprecated function where tests has been removed.
#ignore:
# - 'source/Public/Get-Deprecated.ps1'