Mute logspam
This commit is contained in:
@@ -27,13 +27,13 @@ Push-Location $repoRoot
|
||||
try {
|
||||
if (-not $SkipDotnetRestore) {
|
||||
Invoke-Step -Name "Restore .NET solution" -Action {
|
||||
dotnet restore RpgRoller.sln
|
||||
dotnet restore RpgRoller.sln --verbosity minimal
|
||||
}
|
||||
}
|
||||
|
||||
if (-not $SkipBuild) {
|
||||
Invoke-Step -Name "Build .NET solution (warnings as errors)" -Action {
|
||||
dotnet build RpgRoller.sln --no-restore -warnaserror
|
||||
dotnet build RpgRoller.sln --no-restore -warnaserror --verbosity minimal
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,10 +47,10 @@ try {
|
||||
|
||||
Invoke-Step -Name "Run tests" -Action {
|
||||
if ($SkipBuild) {
|
||||
dotnet test RpgRoller.Tests/RpgRoller.Tests.csproj --verbosity normal --collect:"XPlat Code Coverage" --settings RpgRoller.Tests/coverlet.runsettings
|
||||
dotnet test RpgRoller.Tests/RpgRoller.Tests.csproj --verbosity minimal --collect:"XPlat Code Coverage" --settings RpgRoller.Tests/coverlet.runsettings
|
||||
}
|
||||
else {
|
||||
dotnet test RpgRoller.Tests/RpgRoller.Tests.csproj --no-build --verbosity normal --collect:"XPlat Code Coverage" --settings RpgRoller.Tests/coverlet.runsettings
|
||||
dotnet test RpgRoller.Tests/RpgRoller.Tests.csproj --no-build --verbosity minimal --collect:"XPlat Code Coverage" --settings RpgRoller.Tests/coverlet.runsettings
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user