File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff 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() }}
You can’t perform that action at this time.
0 commit comments