Skip to content

Commit 202c5aa

Browse files
committed
Ignore satellite assembly in coverage.
1 parent b29a137 commit 202c5aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/Autofac.Build.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ function Invoke-Test {
199199
/p:CoverletOutput="../../artifacts/coverage/$($Project.Name)/" `
200200
/p:CoverletOutputFormat="json%2clcov" `
201201
/p:ExcludeByAttribute=CompilerGeneratedAttribute `
202-
/p:ExcludeByAttribute=GeneratedCodeAttribute
202+
/p:ExcludeByAttribute=GeneratedCodeAttribute `
203+
/p:Exclude="[Autofac.Extras.DynamicProxy.Test.SatelliteAssembly]*"
203204

204205
if ($LASTEXITCODE -ne 0) {
205206
Pop-Location

0 commit comments

Comments
 (0)