mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 02:57:37 +01:00
ci: run pull-request tests on GitHub-hosted runners
Pull requests queued for over an hour behind three self-hosted runners while GitHub-hosted runners, free for this public repository and already used for fork PRs, start within about a minute and run many jobs in parallel. Pushes to main keep the self-hosted tp04 runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
20891c8e93
commit
aaef4cf5d6
1 file changed
+4
-4
+4
-4
@@ -33,10 +33,10 @@ jobs:
|
||||
# The suite writes heavily to the runner disk (real files, fsync), so a
|
||||
# Draft PR skips it; its author tests locally until the PR is ready.
|
||||
if: github.event_name == 'push' || !github.event.pull_request.draft
|
||||
# Pushes and same-repo PRs run on the team's tp04 runner (seaweed.slice,
|
||||
# capped at 8 cores / 8 GiB). Fork PRs never reach it: they stay on a
|
||||
# GitHub-hosted runner.
|
||||
runs-on: ${{ (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
# Pull requests run on GitHub-hosted runners (free for this public repo, many
|
||||
# jobs in parallel); pushes to main keep the team's tp04 runner (seaweed.slice,
|
||||
# capped at 8 cores / 8 GiB) as the self-hosted signal.
|
||||
runs-on: ${{ github.event_name == 'push' && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
# process: 44 tests in 4 parallel shards of about 13 min each (55 min in sequence).
|
||||
timeout-minutes: ${{ matrix.suite == 'unit' && 40 || 90 }}
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user