mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-05 20:38:25 +03:00
Added additional paralellization for mypy_primer (from 2 to 8 shards) to reduce feedback time on PRs.
This commit is contained in:
parent
3e70e7a8f9
commit
17d9f61ccd
4
.github/workflows/mypy_primer_pr.yaml
vendored
4
.github/workflows/mypy_primer_pr.yaml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
shard-index: [0, 1]
|
shard-index: [0, 1, 2, 3, 4, 5, 6, 7]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -69,7 +69,7 @@ jobs:
|
|||||||
--repo pyright_to_test \
|
--repo pyright_to_test \
|
||||||
--type-checker pyright \
|
--type-checker pyright \
|
||||||
--new $GITHUB_SHA --old base_commit \
|
--new $GITHUB_SHA --old base_commit \
|
||||||
--num-shards 2 --shard-index ${{ matrix.shard-index }} \
|
--num-shards 8 --shard-index ${{ matrix.shard-index }} \
|
||||||
--debug \
|
--debug \
|
||||||
--output concise \
|
--output concise \
|
||||||
| tee diff_${{ matrix.shard-index }}.txt
|
| tee diff_${{ matrix.shard-index }}.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user