Skip to content

Commit 350b622

Browse files
author
Oren Novotny
committed
Enable coverage of .net framework
1 parent b0343c7 commit 350b622

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Ix.NET/Source/Directory.build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
2929
<Exclude>[xunit.*]*</Exclude>
3030
<CoverletOutput>$(MSBuildThisFileDirectory)coverlet/raw/$(AssemblyName)/$(TargetFramework)/</CoverletOutput>
31-
<CollectCoverage Condition="'$(TF_BUILD)' == 'true' and '$(TargetFramework)' != 'net461' ">true</CollectCoverage>
31+
<CollectCoverage Condition="'$(TF_BUILD)' == 'true'">true</CollectCoverage>
3232
</PropertyGroup>
3333

3434
</Project>

azure-pipelines.ix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ steps:
6868
inputs:
6969
command: test
7070
projects: Ix.NET/Source/**/*.Tests.csproj
71-
arguments: -c $(BuildConfiguration)
71+
arguments: -c $(BuildConfiguration) -- RunConfiguration.DisableAppDomain=true
7272
displayName: Run Tests
7373

7474
- script: reportgenerator -reports:$(Build.SourcesDirectory)/Ix.NET/Source/coverlet/raw/**/coverage.cobertura.xml -targetdir:$(Build.SourcesDirectory)/Ix.NET/Source/coverlet/reports -reporttypes:"HtmlInline_AzurePipelines;Cobertura"

0 commit comments

Comments
 (0)