diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 9a9fb27..ee1b8ee 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -22,7 +22,7 @@ jobs: pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - name: Test run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' test-powershell-macos: runs-on: macos-latest @@ -35,7 +35,7 @@ jobs: pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - name: Test run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' test-powershell-windows: runs-on: windows-latest @@ -48,7 +48,7 @@ jobs: pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - name: Test run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' test-powershell-5-1-windows-2019: runs-on: windows-2019 @@ -61,7 +61,7 @@ jobs: powershell -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - name: Test run: | - powershell -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + powershell -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' ########## # Docker # @@ -81,7 +81,7 @@ jobs: - name: Test run: | git config --global --add safe.directory '*' - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' test-powershell-7-3: runs-on: ubuntu-latest @@ -97,7 +97,7 @@ jobs: - name: Test run: | git config --global --add safe.directory '*' - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' test-powershell-7-4: runs-on: ubuntu-latest @@ -113,4 +113,4 @@ jobs: - name: Test run: | git config --global --add safe.directory '*' - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' + pwsh -NoLogo -NonInteractive -NoProfile -Command '$VerbosePreference = "Continue"; ./test/test.ps1' diff --git a/test/PSRepositoryReleaseManager.Tests.ps1 b/test/PSRepositoryReleaseManager.Tests.ps1 index 328b33a..947b79b 100644 --- a/test/PSRepositoryReleaseManager.Tests.ps1 +++ b/test/PSRepositoryReleaseManager.Tests.ps1 @@ -19,7 +19,7 @@ $functionTestScriptBlock = { $stdout = & $script:cmd } "Generate notes content:" | Write-Verbose - Get-Content -Path "$stdout" | Out-String -Stream | % { $_.Trim() } | ? { $_ } | Write-Host + $stdout | Out-String -Stream | % { $_.Trim() } | ? { $_ } | Write-Host } }catch { $_ | Write-Error @@ -32,7 +32,7 @@ $env:RELEASE_TAG_REF = git describe --tags --abbrev=0 # Script: ci/Invoke-Generate.ps1 $ReleaseNotesVariant = Get-ChildItem "../src/PSRepositoryReleaseManager/generate/variants" | % { $_.BaseName } -"Release Notes Variants:" | Write-Verbose +"Release notes variants:" | Write-Verbose $ReleaseNotesVariant | Write-Host foreach ($variant in $ReleaseNotesVariant) {