fix pester verbosity config #58
@ -34,7 +34,7 @@ steps:
|
||||
pwsh -NonInteractive -c "& {
|
||||
Import-Module './tools/DroneIO.psm1';
|
||||
Invoke-InstallDependencies;
|
||||
Invoke-UnitTest
|
||||
Invoke-UnitTest -Verbosity 'Detailed'
|
||||
}"
|
||||
|
||||
- name: coverage
|
||||
|
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
@ -88,7 +88,7 @@
|
||||
"Remove-Item ./coverage.xml -ErrorAction 'SilentlyContinue';",
|
||||
"Remove-Item ./testResults.xml -ErrorAction 'SilentlyContinue';",
|
||||
"Import-Module ./tools/DroneIO.psm1;",
|
||||
"Invoke-UnitTest -CoverageFormat 'CoverageGutters' -Verbosity 'Debug'"
|
||||
"Invoke-UnitTest -CoverageFormat 'CoverageGutters' -Verbosity 'Diagnostic'"
|
||||
],
|
||||
"group": "test",
|
||||
"problemMatcher": [
|
||||
|
@ -114,8 +114,8 @@ function Invoke-Linter {
|
||||
}
|
||||
}
|
||||
catch {
|
||||
Write-Debug -Message $_.Exception.Message -Debug
|
||||
Write-Error -Message 'PSScriptAnalyzer failer'
|
||||
Write-Error -Message $_.Exception.Message -ErrorAction 'Stop'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user