From c39bd23d078cb0ec263f84a37437a8a3b540039a Mon Sep 17 00:00:00 2001 From: bherbruck Date: Sat, 17 Oct 2026 22:11:35 -0400 Subject: [PATCH] CI: run all four test shards on the trusted self-hosted runners (#2220) The trusted runs' test archive is still built on GitHub's ubuntu-24.04 runners; minisforum's newer glibc runs it unchanged, so shards 3-4 can join 1-2 on the self-hosted runners. Co-authored-by: Claude Opus 5.5 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8894f3b5..ab9fc0fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ # of this repository (people with write access; fork pull requests never run on this machine). # There, Select checks and ci run on the self-hosted light runner (`self-hosted-light`, quick # jobs, so they never wait behind a build), and the repository checks, Clippy, the doc tests, -# the reference tests and test shards 1-2 on the self-hosted runners (`self-hosted-fast`, warm +# the reference tests and all four test shards on the self-hosted runners (`self-hosted-fast`, warm # build directories via scripts/ci/warm-target.sh). Fork PRs' Linux jobs run on the isolated, ephemeral # `self-hosted-untrusted` runners (no warm caches); everything else runs on GitHub's runners. # The test archive is always built on GitHub's runners: the self-hosted machine has a newer @@ -292,7 +292,7 @@ jobs: tests: name: Native Linux tests (${{ matrix.shard }}/4) needs: [changes, build-tests] - runs-on: ${{ (needs.changes.outputs.local == 'true' && matrix.shard <= 2) && 'self-hosted-fast' || ((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'self-hosted-untrusted' || 'ubuntu-24.04') }} + runs-on: ${{ needs.changes.outputs.local == 'true' && 'self-hosted-fast' || ((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) && 'self-hosted-untrusted' || 'ubuntu-24.04') }} timeout-minutes: 60 strategy: fail-fast: false