Skip to content

Commit 42f3bf2

Browse files
simon-reynoldsTheAngryByrd
authored andcommitted
Code coverage will only include what we have the source code for
1 parent 6f641d2 commit 42f3bf2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Content/Console/build.fsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ let dotnetTest ctx =
385385
sprintf "/p:AltCover=%b" (not disableCodeCoverage)
386386
sprintf "/p:AltCoverThreshold=%d" coverageThresholdPercent
387387
sprintf "/p:AltCoverAssemblyExcludeFilter=%s" excludeCoverage
388+
"/p:AltCoverLocalSource=true"
388389
]
389390
{ c with
390391
Configuration = configuration (ctx.Context.AllExecutingTargets)

Content/Library/build.fsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ let dotnetTest ctx =
436436
sprintf "/p:AltCover=%b" (not disableCodeCoverage)
437437
sprintf "/p:AltCoverThreshold=%d" coverageThresholdPercent
438438
sprintf "/p:AltCoverAssemblyExcludeFilter=%s" excludeCoverage
439+
"/p:AltCoverLocalSource=true"
439440
]
440441
DotNet.test(fun c ->
441442

0 commit comments

Comments
 (0)