forked from dsccommunity/SqlServerDsc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codecov.yml
44 lines (39 loc) · 1021 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
35
36
37
38
39
40
41
42
43
44
codecov:
require_ci_to_pass: no
# main 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
flags:
- unit
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
flags:
- unit
flags:
unit:
paths:
- source/
carryforward: true
fixes:
- '\d+\.\d+\.\d+\/::source/' # move path "X.Y.Z/" => "source/"
# Deprecated resources
ignore:
- 'source/DSCResources/MSFT_SqlServerNetwork'
- 'source/DSCResources/MSFT_SqlDatabaseOwner'
- 'source/DSCResources/MSFT_SqlDatabaseRecoveryModel'
- 'source/DSCResources/MSFT_SqlServerEndpointState'