Skip to content

Commit beecd6c

Browse files
committed
ci.yml: Try vibe-coded test results
1 parent d1fcfbb commit beecd6c

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,16 @@ jobs:
130130
with:
131131
timeout_minutes: 10
132132
max_attempts: 5
133-
command: cd ${{ matrix.package }} && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} bun test {}
133+
command: cd ${{ matrix.package }} && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} bun test --reporter=junit --reporter-outfile=test-results.xml {}
134+
135+
- name: Publish Test Results
136+
uses: dorny/test-reporter@v1
137+
if: always()
138+
with:
139+
name: ${{ matrix.package }} Test Results
140+
path: ${{ matrix.package }}/test-results.xml
141+
reporter: java-junit
142+
fail-on-error: true
134143

135144
# - name: Open interactive debug shell
136145
# if: ${{ failure() }}
@@ -190,7 +199,16 @@ jobs:
190199
with:
191200
timeout_minutes: 15
192201
max_attempts: 3
193-
command: cd ${{ matrix.package }} && find src -name '*.integration.test.ts' | sort | xargs -I {} bun test {}
202+
command: cd ${{ matrix.package }} && find src -name '*.integration.test.ts' | sort | xargs -I {} bun test --reporter=junit --reporter-outfile=integration-test-results.xml {}
203+
204+
- name: Publish Integration Test Results
205+
uses: dorny/test-reporter@v1
206+
if: always()
207+
with:
208+
name: ${{ matrix.package }} Integration Test Results
209+
path: ${{ matrix.package }}/integration-test-results.xml
210+
reporter: java-junit
211+
fail-on-error: true
194212

195213
# - name: Open interactive debug shell
196214
# if: ${{ failure() }}

0 commit comments

Comments
 (0)