Skip to content

Commit 9c24625

Browse files
committed
gather reports even when tests fail
1 parent e3cafe1 commit 9c24625

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/unit-tests-internal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: pnpm run test:internal --reporter=default --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
8383

8484
- name: Gather all reports
85+
if: ${{ !cancelled() }}
8586
run: |
8687
mkdir -p .vitest-reports
8788
find . -type f -path '*/.vitest-reports/blob-*.json' \

.github/workflows/unit-tests-packages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: pnpm run test:packages --reporter=default --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
8383

8484
- name: Gather all reports
85+
if: ${{ !cancelled() }}
8586
run: |
8687
mkdir -p .vitest-reports
8788
find . -type f -path '*/.vitest-reports/blob-*.json' \

.github/workflows/unit-tests-webapp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
ENCRYPTION_KEY: "secret"
8989

9090
- name: Gather all reports
91+
if: ${{ !cancelled() }}
9192
run: |
9293
mkdir -p .vitest-reports
9394
find . -type f -path '*/.vitest-reports/blob-*.json' \

0 commit comments

Comments
 (0)