maliming
4 years ago
No known key found for this signature in database
GPG Key ID: 96224957E51C89E
3 changed files with
12 additions and
1 deletions
-
build/test-all.ps1
-
codecov.yml
-
common.test.props
|
|
@ -7,7 +7,7 @@ $full = $args[0] |
|
|
foreach ($solutionPath in $solutionPaths) { |
|
|
foreach ($solutionPath in $solutionPaths) { |
|
|
$solutionAbsPath = (Join-Path $rootFolder $solutionPath) |
|
|
$solutionAbsPath = (Join-Path $rootFolder $solutionPath) |
|
|
Set-Location $solutionAbsPath |
|
|
Set-Location $solutionAbsPath |
|
|
dotnet test --no-build --no-restore |
|
|
dotnet test --no-build --no-restore --collect:"XPlat Code Coverage" |
|
|
if (-Not $?) { |
|
|
if (-Not $?) { |
|
|
Write-Host ("Test failed for the solution: " + $solutionPath) |
|
|
Write-Host ("Test failed for the solution: " + $solutionPath) |
|
|
Set-Location $rootFolder |
|
|
Set-Location $rootFolder |
|
|
|
|
|
@ -0,0 +1,3 @@ |
|
|
|
|
|
codecov: |
|
|
|
|
|
branch: dev |
|
|
|
|
|
require_ci_to_pass: yes |
|
|
@ -7,4 +7,12 @@ |
|
|
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
|
|
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> |
|
|
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
|
|
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> |
|
|
</PropertyGroup> |
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
<PackageReference Include="coverlet.collector" Version="3.1.0"> |
|
|
|
|
|
<PrivateAssets>all</PrivateAssets> |
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> |
|
|
|
|
|
</PackageReference> |
|
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
</Project> |
|
|
</Project> |