Skip to content

Commit 3392b0a

Browse files
committed
(build) Made the build work
- ApprovalTests.dll was being included in test run. Modified the testFilePattern to only include files that end in .Tests.dll - Changed the testCoverageFilter to exclude dll's that are 3rd Party
1 parent 4029111 commit 3392b0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.cake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ BuildParameters.SetParameters(context: Context,
88
title: "GitReleaseManager",
99
repositoryOwner: "GitTools",
1010
repositoryName: "GitReleaseManager",
11-
appVeyorAccountName: "GitTools");
11+
appVeyorAccountName: "GitTools",
12+
testFilePattern: "/**/*.Tests.dll");
1213

1314
BuildParameters.PrintParameters(Context);
1415

1516
ToolSettings.SetToolSettings(context: Context,
1617
dupFinderExcludePattern: new string[] {
1718
BuildParameters.RootDirectoryPath + "/Source/GitReleaseManager.Tests/*.cs" },
18-
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* ",
19+
testCoverageFilter: "+[*]* -[xunit.*]* -[Cake.Core]* -[Cake.Testing]* -[*.Tests]* -[Octokit]* -[YamlDotNet]*",
1920
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
2021
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
2122
Build.Run();

0 commit comments

Comments
 (0)