Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f2dba0c

Browse files
Excluding code coverage flakes
1 parent 95f65aa commit f2dba0c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/Run-CodeCoverage.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $testAssemblies = @(
3434
"test\TrackingCollectionTests\bin\$Configuration\TrackingCollectionTests.dll"
3535
)
3636

37-
$opencoverTargetArgs = ($testAssemblies -join " ") + " --where cat!=Timings --inprocess --noresult"
37+
$opencoverTargetArgs = ($testAssemblies -join " ") + " --where cat!=Timings --where cat!=CodeCoverageFlake --inprocess --noresult"
3838

3939
$opencoverDirectory = Join-Path $rootDirectory packages\OpenCover.4.6.519\tools
4040
$opencover = Join-Path $opencoverDirectory OpenCover.Console.exe
@@ -57,7 +57,7 @@ $codecovArgs = "-f `"coverage.xml`""
5757

5858
Run-Process 600 $opencover $opencoverArgs
5959

60-
if($AppVeyor) {
60+
if ($AppVeyor) {
6161
Run-Process 60 $codecov $codecovArgs
6262
}
6363

test/GitHub.InlineReviews.UnitTests/Services/PullRequestSessionManagerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ Line 2
447447
}
448448
}
449449

450-
[Test]
450+
[Test, NUnit.Framework.Category("CodeCoverageFlake")]
451451
public async Task UpdatesInlineCommentThreadsFromEditorContent()
452452
{
453453
var baseContents = @"Line 1

0 commit comments

Comments
 (0)