Skip to content

Commit fa792f3

Browse files
committed
FIXUP
1 parent f5d9c22 commit fa792f3

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,13 @@ jobs:
158158
- name: Install dependencies
159159
run: pnpm install --frozen-lockfile
160160

161-
- name: Run tests
162-
run: pnpm run ci --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
161+
- name: Run tests with coverage
162+
if: ${{ matrix.os != 'windows-latest' }}
163+
run: pnpm run test:cov --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
164+
165+
- name: Run tests without coverage
166+
if: ${{ matrix.os == 'windows-latest' }}
167+
run: pnpm run test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
163168

164169
- name: Run example tests
165170
if: ${{ matrix.node != '20' && matrix.os != 'windows-latest' }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"fmt": "oxfmt",
2222
"typecheck": "pnpm clean && pnpm -r run typecheck",
2323
"fmtcheck": "oxfmt --check .",
24-
"pretest": "pnpm run clean && pnpm -r run pretest",
24+
"pretest": "pnpm run clean && pnpm -r --parallel run pretest",
2525
"test": "vitest run --bail 1 --retry 2 --testTimeout 20000 --hookTimeout 20000",
2626
"test:cov": "pnpm run test --coverage",
2727
"preci": "pnpm -r --parallel run pretest",

0 commit comments

Comments
 (0)