-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ability to support all different code coverage formats with V2 (…
…#68) * Adding ability to support all different code coverage formats with V2 * Adding L0 test to ReportGeneratorTool * Removing the CodeCoverage.IO old package * Adding nuget restore * removing nuget restore * adding nuget config * adding nuget config and * adding nuget config and restore * adding nuget config and restore remove * Adding dotnet restore * Adding dotnet restore 2 * Adding dotnet restore 3 * Adding dotnet restore 4 * Adding dotnet restore 5 * Adding dotnet restore 6 * Adding dotnet restore 7 * Adding dotnet restore 8 * Adding dotnet restore 9 * Adding dotnet restore 10 * Adding dotnet restore 11 * Adding dotnet restore 12 * Adding dotnet restore 13 * Adding dotnet restore 14 * Adding dotnet restore 15 * Adding dotnet restore 16 * Updating L0 tests cases * Fixing pipeline error * Adding nuget config custom file * Adding nuget authenticate * Adding nuget authenticate 1 * Adding nuget authenticate 2 * Final updates * Final updates 1 * Final updates 2 * Adding .coverage sample file * Updating nuget config file * Updating nuget config file2 * Addressing PR comments * Addressing PR comments and creating object * Few refactoring code * Nit change
- Loading branch information
1 parent
70cdde3
commit ccf072c
Showing
14 changed files
with
238 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/CoveragePublisher/Parsers/CoverageParserTools/PublisherCoverageFileConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using Microsoft.CodeCoverage.Core; | ||
using Microsoft.CodeCoverage.IO.Coverage; | ||
|
||
namespace Microsoft.Azure.Pipelines.CoveragePublisher.Parsers.CoverageParserTools | ||
{ | ||
internal class PublisherCoverageFileConfiguration : ICoverageFileConfiguration | ||
{ | ||
public PublisherCoverageFileConfiguration( | ||
bool ReadModules, | ||
bool ReadSkippedModules, | ||
bool ReadSkippedFunctions, | ||
bool ReadSnapshotsData, | ||
bool FixCoverageBuffersMismatch, | ||
bool GenerateCoverageBufferFiles | ||
) { | ||
this.ReadModules = ReadModules; | ||
this.ReadSkippedModules = ReadSkippedModules; | ||
this.ReadSkippedFunctions = ReadSkippedFunctions; | ||
this.ReadSnapshotsData = ReadSnapshotsData; | ||
this.FixCoverageBuffersMismatch = FixCoverageBuffersMismatch; | ||
this.GenerateCoverageBufferFiles = GenerateCoverageBufferFiles; | ||
} | ||
public bool ReadModules { get; set; } | ||
|
||
public bool ReadSkippedModules { get; set; } | ||
|
||
public bool ReadSkippedFunctions { get; set; } | ||
|
||
public bool ReadSnapshotsData { get; set; } | ||
|
||
public bool GenerateCoverageBufferFiles { get; set; } | ||
|
||
public bool FixCoverageBuffersMismatch { get; set; } | ||
|
||
public int MaxDegreeOfParallelism { get; set; } = 10; | ||
|
||
public bool SkipInvalidData { get; set; } | ||
|
||
public CoverageMergeOperation MergeOperation { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.