Merge pull request #744 from seaweedfs/ci/test-hosted

ci: run pull-request tests on GitHub-hosted runners
This commit is contained in:
Ping Qiu authored and GitHub committed 2026-11-28 22:42:08 -08:00
commit dfe4515abb
1 file changed
+4 -4
+4 -4
View File
@@ -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: