Skip to content

Commit 329c4d5

Browse files
committed
Fail on failure
1 parent 2cab84f commit 329c4d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
- name: Install Output Modules
8383
shell: pwsh
8484
run: | # PowerShell
85+
# https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-powershell#powershell-module-locations
8586
$ModuleDestination = if ($IsWindows) {
8687
Join-Path ([Environment]::GetFolderPath('MyDocuments')) 'PowerShell/Modules'
8788
} else {
@@ -111,6 +112,7 @@ jobs:
111112
report_name: module_tests
112113
report_title: My Module Tests
113114
github_token: ${{ secrets.GITHUB_TOKEN }}
115+
tests_fail_step: true
114116
- name: dump test results
115117
shell: pwsh
116118
run: | # PowerShell

0 commit comments

Comments
 (0)