Skip to content

Commit

Permalink
Merge pull request #18 from theohbrothers/test/integration-fix-tweak-…
Browse files Browse the repository at this point in the history
…and-maximize-use-of-verbose-output-for-displaying-test-results

Test (integration): Fix and tweak verbose output for displaying test progress
  • Loading branch information
joeltimothyoh authored Apr 26, 2024
2 parents df03eea + dea166e commit 6479e4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 #
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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'
2 changes: 1 addition & 1 deletion test/PSRepositoryReleaseManager.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6479e4d

Please sign in to comment.