File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ $full = $args[0]
7
7
foreach ($solutionPath in $solutionPaths ) {
8
8
$solutionAbsPath = (Join-Path $rootFolder $solutionPath )
9
9
Set-Location $solutionAbsPath
10
- dotnet test -- no- build -- no- restore
10
+ dotnet test -- no- build -- no- restore -- collect: " XPlat Code Coverage "
11
11
if (-Not $? ) {
12
12
Write-Host (" Test failed for the solution: " + $solutionPath )
13
13
Set-Location $rootFolder
Original file line number Diff line number Diff line change
1
+ codecov :
2
+ branch : dev
3
+ require_ci_to_pass : yes
Original file line number Diff line number Diff line change 7
7
<GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
8
8
<GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
9
9
</PropertyGroup >
10
+
11
+ <ItemGroup >
12
+ <PackageReference Include =" coverlet.collector" Version =" 3.1.0" >
13
+ <PrivateAssets >all</PrivateAssets >
14
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
15
+ </PackageReference >
16
+ </ItemGroup >
17
+
10
18
</Project >
You can’t perform that action at this time.
0 commit comments