Skip to content

Commit 03eafd3

Browse files
committed
chore: Tune Windows tests split
1 parent cb86244 commit 03eafd3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/main.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ jobs:
346346
strategy:
347347
fail-fast: false
348348
matrix:
349-
test-index: [0, 1]
349+
test-index: [0, 1, 2]
350350
needs: changes
351351
if: github.event_name == 'push' || needs.changes.outputs.code == 'true'
352352
runs-on: windows-2022
@@ -369,9 +369,11 @@ jobs:
369369
run: |
370370
if (${{ matrix.test-index }} -eq 0) {
371371
go test ./... -short -race
372-
go test ./internal/cmd -run=TestScript -filter='^[0-9a-hA-h]' -race
372+
go test ./internal/cmd -run=TestScript -filter='^[0-9a-dA-D]' -race
373+
} elseif (${{ matrix.test-index }} -eq 1) {
374+
go test ./internal/cmd -run=TestScript -filter='^[e-lE-L]' -race
373375
} else {
374-
go test ./internal/cmd -run=TestScript -filter='^[i-zI-Z]' -race
376+
go test ./internal/cmd -run=TestScript -filter='^[m-zM-Z]' -race
375377
}
376378
check:
377379
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)