Skip to content

Commit

Permalink
Coverage uses top level directory as source (#1711)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
qiluo-msft authored Jul 14, 2021
1 parent 3f0b690 commit 8fe7e26
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
[run]
branch = True
source =
acl_loader
clear
config
connect
consutil
counterpoll
crm
debug
fdbutil
fwutil
pcieutil
pddf_fanutil
pddf_ledutil
pddf_psuutil
pddf_thermalutil
pfc
pfcwd
psuutil
scripts
sfputil
show
sonic_installer
ssdutil
undebug
utilities_common
watchdogutil
source = .
omit =
.eggs/*
tests/*

0 comments on commit 8fe7e26

Please sign in to comment.