@@ -26,21 +26,20 @@ jobs:
2626 mypy_primer :
2727 name : Run mypy_primer
2828 runs-on : ubuntu-latest
29- permissions :
30- contents : read
3129 strategy :
3230 matrix :
33- shard-index : [0, 1, 2, 3, 4]
31+ shard-index : [0, 1, 2, 3, 4, 5 ]
3432 fail-fast : false
3533 timeout-minutes : 60
3634 steps :
3735 - uses : actions/checkout@v4
3836 with :
3937 path : mypy_to_test
4038 fetch-depth : 0
39+ persist-credentials : false
4140 - uses : actions/setup-python@v5
4241 with :
43- python-version : " 3.12 "
42+ python-version : " 3.14 "
4443 - name : Install dependencies
4544 run : |
4645 python -m pip install -U pip
@@ -64,19 +63,20 @@ jobs:
6463 mypy_primer \
6564 --repo mypy_to_test \
6665 --new $GITHUB_SHA --old base_commit \
67- --num-shards 5 --shard-index ${{ matrix.shard-index }} \
66+ --num-shards 6 --shard-index ${{ matrix.shard-index }} \
6867 --debug \
6968 --additional-flags="--debug-serialize" \
7069 --output concise \
70+ --mypy-install-librt \
7171 | tee diff_${{ matrix.shard-index }}.txt
7272 ) || [ $? -eq 1 ]
7373 - if : ${{ matrix.shard-index == 0 }}
7474 name : Save PR number
7575 run : |
7676 echo ${{ github.event.pull_request.number }} | tee pr_number.txt
77- - if : ${{ matrix.shard-index == 0 }}
78- name : Upload mypy_primer diff + PR number
77+ - name : Upload mypy_primer diff + PR number
7978 uses : actions/upload-artifact@v4
79+ if : ${{ matrix.shard-index == 0 }}
8080 with :
8181 name : mypy_primer_diffs-${{ matrix.shard-index }}
8282 path : |
9393 name : Join artifacts
9494 runs-on : ubuntu-latest
9595 needs : [mypy_primer]
96- permissions :
97- contents : read
9896 steps :
9997 - name : Merge artifacts
10098 uses : actions/upload-artifact/merge@v4
0 commit comments