fix pester verbosity config (#58)

* fix pester verbosity config

* debug ScriptAnalayzer output
pull/59/merge
Marco Blessing 5 months ago committed by GitHub
parent c31ee791bb
commit 88743e9ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .drone.yml
  2. 2
      .vscode/tasks.json
  3. 2
      tools/DroneIO.psm1

@ -34,7 +34,7 @@ steps:
pwsh -NonInteractive -c "& {
Import-Module './tools/DroneIO.psm1';
Invoke-InstallDependencies;
Invoke-UnitTest
Invoke-UnitTest -Verbosity 'Detailed'
}"
- name: coverage

@ -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…
Cancel
Save