mirror of https://github.com/astral-sh/ruff
[red-knot] mypy_primer: larger depot runner (#17547)
## Summary A switch from 16 to 32 cores reduces the `mypy_primer` CI time from 3.5-4 min to 2.5-3 min. There's also a 64-core runner, but the 4 min -> 3 min change when doubling the cores once does suggest that it doesn't parallelize *this* well.
This commit is contained in:
parent
6bdffc3cbf
commit
4775719abf
|
|
@ -6,5 +6,6 @@ self-hosted-runner:
|
||||||
labels:
|
labels:
|
||||||
- depot-ubuntu-latest-8
|
- depot-ubuntu-latest-8
|
||||||
- depot-ubuntu-22.04-16
|
- depot-ubuntu-22.04-16
|
||||||
|
- depot-ubuntu-22.04-32
|
||||||
- github-windows-2025-x86_64-8
|
- github-windows-2025-x86_64-8
|
||||||
- github-windows-2025-x86_64-16
|
- github-windows-2025-x86_64-16
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
mypy_primer:
|
mypy_primer:
|
||||||
name: Run mypy_primer
|
name: Run mypy_primer
|
||||||
runs-on: depot-ubuntu-22.04-16
|
runs-on: depot-ubuntu-22.04-32
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue