File tree Expand file tree Collapse file tree 4 files changed +4
-17
lines changed Expand file tree Collapse file tree 4 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 17
17
<_BranchName Condition =" '$(_BranchName)' == ''" >$(BUILD_SOURCEBRANCHNAME)</_BranchName >
18
18
</PropertyGroup >
19
19
20
- <Message Importance =" high" Text =" " $(_ReportGeneratorPath)" -reports:$(BaseOutputPath)$(PlatformConfig)\coverage\*.coverage -targetdir:$(BaseOutputPath)$(PlatformConfig)\coverage -reporttypes:Cobertura" />
21
- <Exec Command =" " $(_ReportGeneratorPath)" -reports:$(BaseOutputPath)$(PlatformConfig)\coverage\*.coverage -targetdir:$(BaseOutputPath)$(PlatformConfig)\coverage -reporttypes:Cobertura" />
20
+ <Message Importance =" high" Text =" " $(_ReportGeneratorPath)" -reports:$(BaseOutputPath)$(PlatformConfig)\coverage\*.coverage -targetdir:$(BaseOutputPath)$(PlatformConfig)\coverage -filefilters:+https*;+*.fs - reporttypes:Cobertura" />
21
+ <Exec Command =" " $(_ReportGeneratorPath)" -reports:$(BaseOutputPath)$(PlatformConfig)\coverage\*.coverage -targetdir:$(BaseOutputPath)$(PlatformConfig)\coverage -filefilters:+https*;+*.fs - reporttypes:Cobertura" />
22
22
23
23
<ItemGroup >
24
24
<_CodecovArgs Include =" -f;$(BaseOutputPath)$(PlatformConfig)\coverage\Cobertura.xml" />
Original file line number Diff line number Diff line change 34
34
<PropertyGroup >
35
35
<PublishSymbolsPackageVersion >1.0.0-beta-62824-02</PublishSymbolsPackageVersion >
36
36
<CodecovVersion >1.1.1</CodecovVersion >
37
- <CoverletVersion >2.5.1 </CoverletVersion >
37
+ <CoverletVersion >2.6.0 </CoverletVersion >
38
38
<ReportGeneratorVersion >4.0.9</ReportGeneratorVersion >
39
39
</PropertyGroup >
40
40
Original file line number Diff line number Diff line change 35
35
36
36
<PropertyGroup Condition =" '$(Coverage)' == 'true'" >
37
37
<CollectCoverage >true</CollectCoverage >
38
+ <SingleHit >true</SingleHit >
38
39
<CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies > <!-- https://github.com/tonerdo/coverlet/issues/72 -->
39
40
<CoverletOutputFormat >opencover</CoverletOutputFormat >
40
41
<CoverletOutput >$(BaseOutputPath)$(PlatformConfig)\coverage\$(MSBuildProjectName).coverage</CoverletOutput >
Original file line number Diff line number Diff line change 8
8
<AllowedReferenceRelatedFileExtensions >$(AllowedReferenceRelatedFileExtensions);.runtimeconfig.json;.runtimeconfig.dev.json;.deps.json</AllowedReferenceRelatedFileExtensions >
9
9
</PropertyGroup >
10
10
11
- <!-- Workaround for https://github.com/tonerdo/coverlet/pull/318 -->
12
- <Target Name =" UpdateTargetPathForCoverage" BeforeTargets =" InstrumentModulesNoBuild;InstrumentModulesAfterBuild" >
13
- <PropertyGroup >
14
- <_CoverletOriginalTargetPath >$(TargetPath)</_CoverletOriginalTargetPath >
15
- <TargetPath >$([System.IO.Path]::GetDirectoryName($(TargetPath)))\NonExistent.dll</TargetPath >
16
- </PropertyGroup >
17
- </Target >
18
-
19
- <Target Name =" UpdateTargetPathAfterCoverage" AfterTargets =" InstrumentModulesNoBuild;InstrumentModulesAfterBuild" >
20
- <PropertyGroup >
21
- <TargetPath >$(_CoverletOriginalTargetPath)</TargetPath >
22
- </PropertyGroup >
23
- </Target >
24
-
25
11
</Project >
You can’t perform that action at this time.
0 commit comments