From 374214944f34aeadd0e8a5e350781ce84c17d6d3 Mon Sep 17 00:00:00 2001 From: Ruslan Sayfutdinov Date: Tue, 19 Nov 2024 13:22:02 -0500 Subject: [PATCH] chore: Tune Windows tests split --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d0026e0aab..635b5f41c0e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -346,7 +346,7 @@ jobs: strategy: fail-fast: false matrix: - test-index: [0, 1] + test-index: [0, 1, 2] needs: changes if: github.event_name == 'push' || needs.changes.outputs.code == 'true' runs-on: windows-2022 @@ -369,9 +369,11 @@ jobs: run: | if (${{ matrix.test-index }} -eq 0) { go test ./... -short -race - go test ./internal/cmd -run=TestScript -filter='^[0-9a-hA-h]' -race + go test ./internal/cmd -run=TestScript -filter='^[0-9a-cA-C]' -race + } elseif (${{ matrix.test-index }} -eq 1) { + go test ./internal/cmd -run=TestScript -filter='^[d-lD-L]' -race } else { - go test ./internal/cmd -run=TestScript -filter='^[i-zI-Z]' -race + go test ./internal/cmd -run=TestScript -filter='^[m-zM-Z]' -race } check: runs-on: ubuntu-22.04