File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' }}
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments