Skip to content

Commit 8fe7e26

Browse files
authored
Coverage uses top level directory as source (#1711)
Originally, the Azure pipeline "Code Coverage" page will render folder structure wrongly. The first level of folders disappear and all the files in the first level are combined and de-dup. So we lost many main.py, etc. Fix the coveragerc file so that the rendering will make sense.
1 parent 3f0b690 commit 8fe7e26

File tree

1 file changed

+4
-27
lines changed

1 file changed

+4
-27
lines changed

.coveragerc

+4-27
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
11
[run]
22
branch = True
3-
source =
4-
acl_loader
5-
clear
6-
config
7-
connect
8-
consutil
9-
counterpoll
10-
crm
11-
debug
12-
fdbutil
13-
fwutil
14-
pcieutil
15-
pddf_fanutil
16-
pddf_ledutil
17-
pddf_psuutil
18-
pddf_thermalutil
19-
pfc
20-
pfcwd
21-
psuutil
22-
scripts
23-
sfputil
24-
show
25-
sonic_installer
26-
ssdutil
27-
undebug
28-
utilities_common
29-
watchdogutil
3+
source = .
4+
omit =
5+
.eggs/*
6+
tests/*

0 commit comments

Comments
 (0)