Skip to content

Commit 443e60f

Browse files
committed
demo/docs: single bun test invocation so failures aren't masked by PowerShell exit-code handling
1 parent f01b592 commit 443e60f

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/windows-smoke.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,10 @@ jobs:
7979
8080
8181
- name: Windows-specific unit tests
82-
run: |
83-
bun test browse/test/security.test.ts
84-
bun test browse/test/file-permissions.test.ts
85-
bun test browse/test/home-dir-resolution.test.ts
86-
bun test make-pdf/test/browseClient.test.ts
87-
bun test make-pdf/test/pdftotext.test.ts
82+
# Single bun test invocation with all files so a failure in any
83+
# file correctly fails the step. Separate invocations + default
84+
# PowerShell error-handling would mask all-but-the-last failure.
85+
run: bun test browse/test/security.test.ts browse/test/file-permissions.test.ts browse/test/home-dir-resolution.test.ts make-pdf/test/browseClient.test.ts make-pdf/test/pdftotext.test.ts
8886

8987
- name: make-pdf render smoke
9088
run: bun test make-pdf/test/render.test.ts

0 commit comments

Comments
 (0)