From f6fef59093cdd5a874ae98f2be88ab87976c7fbe Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Thu, 11 Mar 2021 20:10:15 +0100 Subject: [PATCH] Ignore Cake.Common for code coverage --- recipe.cake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe.cake b/recipe.cake index 7c9c98d..41ad122 100644 --- a/recipe.cake +++ b/recipe.cake @@ -3,7 +3,7 @@ Environment.SetVariableNames(); BuildParameters.SetParameters( - context: Context, + context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "Cake.Issues.PullRequests.AzureDevOps", @@ -21,7 +21,7 @@ BuildParameters.PrintParameters(Context); ToolSettings.SetToolSettings( context: Context, dupFinderExcludePattern: new string[] { BuildParameters.RootDirectoryPath + "/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/*.cs" }, - testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Cake.Issues]* -[Cake.Issues.Testing]* -[Cake.Issues.PullRequests]* -[Cake.AzureDevOps]* -[Shouldly]* -[DiffEngine]* -[EmptyFiles]*", + testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Common]* -[Cake.Testing]* -[*.Tests]* -[Cake.Issues]* -[Cake.Issues.Testing]* -[Cake.Issues.PullRequests]* -[Cake.AzureDevOps]* -[Shouldly]* -[DiffEngine]* -[EmptyFiles]*", testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*", testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");