mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
Merge pull request #806 from seaweedfs/ci/train-test-self-hosted
ci: run a train PR's Test suites on the self-hosted runners
This commit is contained in:
commit
470099723a
1 file changed
+5
-2
+5
-2
@@ -35,8 +35,11 @@ jobs:
|
||||
if: github.event_name == 'push' || !github.event.pull_request.draft
|
||||
# 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' }}
|
||||
# capped at 8 cores / 8 GiB) as the self-hosted signal. A train PR (branch
|
||||
# train/* of this repository, a few a day) also runs on the team's runners:
|
||||
# it is the merge gate, and the organization's shared GitHub-hosted queue held
|
||||
# it 30-55 minutes before it started. A PR from a fork never runs there.
|
||||
runs-on: ${{ (github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'train/'))) && '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