mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
ci: run same-repo tests on the team's tp04 runner
Pushes to main and PRs from branches in this repository now run the test job on the self-hosted tp04 runner (label tp04-seaweed-block). PRs from forks keep running on ubuntu-latest, so code from outside the repository never executes on our machine. The job name stays "go test (linux)", so the required check is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d4acf0a24f
commit
bd2bc5d5ea
1 file changed
+4
-1
+4
-1
@@ -18,7 +18,10 @@ concurrency:
|
||||
jobs:
|
||||
test:
|
||||
name: go test (linux)
|
||||
runs-on: ubuntu-latest
|
||||
# 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' }}
|
||||
timeout-minutes: 25
|
||||
env:
|
||||
# Pure-Go build: no package in the default build needs cgo, and the
|
||||
|
||||
Reference in new issue
Block a user