From 8fe7e260109acafac1035502b5f354a7591e349c Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Tue, 13 Jul 2021 22:11:36 -0700 Subject: [PATCH] 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. --- .coveragerc | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/.coveragerc b/.coveragerc index 9850900d18..e11eae4292 100644 --- a/.coveragerc +++ b/.coveragerc @@ -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/*