From 17d9f61ccd0df5f7b914c7af933ad7360158b927 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Sun, 30 Jun 2024 16:01:36 -0700 Subject: [PATCH] Added additional paralellization for mypy_primer (from 2 to 8 shards) to reduce feedback time on PRs. --- .github/workflows/mypy_primer_pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mypy_primer_pr.yaml b/.github/workflows/mypy_primer_pr.yaml index 77af4c3f7..2b78ef57e 100644 --- a/.github/workflows/mypy_primer_pr.yaml +++ b/.github/workflows/mypy_primer_pr.yaml @@ -35,7 +35,7 @@ jobs: contents: read strategy: matrix: - shard-index: [0, 1] + shard-index: [0, 1, 2, 3, 4, 5, 6, 7] fail-fast: false steps: - uses: actions/checkout@v4 @@ -69,7 +69,7 @@ jobs: --repo pyright_to_test \ --type-checker pyright \ --new $GITHUB_SHA --old base_commit \ - --num-shards 2 --shard-index ${{ matrix.shard-index }} \ + --num-shards 8 --shard-index ${{ matrix.shard-index }} \ --debug \ --output concise \ | tee diff_${{ matrix.shard-index }}.txt