File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 13
13
"commands" : [
14
14
" pwsh"
15
15
]
16
+ },
17
+ "codecov.tool" : {
18
+ "version" : " 1.9.0" ,
19
+ "commands" : [
20
+ " codecov"
21
+ ]
16
22
}
17
23
}
18
24
}
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<CoverageFormat Condition =" '$(CoverageFormat)' == ''" >cobertura</CoverageFormat >
5
+ <CoverageOutputPath Condition =" '$(CoverageOutputPath)' == ''" >coverage.cobertura.xml</CoverageOutputPath >
5
6
</PropertyGroup >
6
7
7
8
<PropertyGroup >
16
17
17
18
<Target Name =" AfterCollectCodeCoverage" AfterTargets =" RunTests" >
18
19
<AfterCollectCodeCoverageTask PipeName =" %(TestToRun.Filename)" CoverletId =" $(CoverletId)" />
20
+ <!-- <Exec Command="$(DotNetTool) tool run codecov -f '$(CoverageOutputPath)'" /> -->
19
21
</Target >
20
22
21
23
<UsingTask
39
41
@"$(DotNetTool)",
40
42
$@"tool run coverlet ""{TestAssembly}"" " +
41
43
@"--format $(CoverageFormat) " +
44
+ @"--output ""$(CoverageOutputPath)"" " +
42
45
@"--target ""$(DotNetTool)"" " +
43
46
@"--targetargs ""tool run pwsh " +
44
47
$"$server = [System.IO.Pipes.NamedPipeServerStream]::new('{PipeName}');" +
You can’t perform that action at this time.
0 commit comments