diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3a781e6763a..db4dd3baa20 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -179,7 +179,7 @@ stages: - powershell: | cd analyzers - & dotnet test -f $(FrameworkMoniker) -c $(BuildConfiguration) -l trx /p:AltCover=true,AltCoverForce=true,AltCoverVisibleBranches=true,AltCoverAssemblyFilter='Moq|Humanizer|AltCover',AltCoverReport=coverage/coverage.xml + & dotnet test -f $(FrameworkMoniker) -c $(BuildConfiguration) -l trx /p:AltCover=true,AltCoverForce=true,AltCoverVisibleBranches=true,AltCoverAssemblyFilter='Moq|Humanizer|AltCover',AltCoverPathFilter='SonarAnalyzer\.CFG\\ShimLayer|SonarAnalyzer\.ShimLayer\.CodeGeneration',AltCoverReport=coverage/coverage.xml displayName: '.Net UTs' - task: PublishPipelineArtifact@1