From 09bc1138b9b1b0b8809bc0f1809983465962c2ab Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 17 Aug 2019 00:55:18 -0400 Subject: [PATCH] Fixed: Exclude API from coverage calculation --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 77953ee16..2b36df055 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -454,6 +454,7 @@ stages: projectName: 'Lidarr' extraProperties: | sonar.exclusions=**/obj/**,**/*.dll,**/NzbDrone.Core.Test/Files/**/*,./frontend/**,**/ExternalModules/**,./src/Libraries/** + sonar.coverage.exclusions=**/Lidarr.Api.V1/** sonar.cs.opencover.reportsPaths=$(Build.SourcesDirectory)/_tests/CoverageResults/coverage.opencover.xml sonar.cs.nunit.reportsPaths=$(Build.SourcesDirectory)/TestResult.xml - bash: ./build.sh --only-backend