ci: parallelize real-api e2e files

This commit is contained in:
Tianyi Cui
2026-07-06 01:10:27 +08:00
parent 08e09217bf
commit 6ea7d7af53
7 changed files with 44 additions and 13 deletions

View File

@@ -54,8 +54,8 @@ jobs:
if: >-
github.event_name != 'pull_request'
|| !(github.event.pull_request.head.repo.fork || github.event.pull_request.user.login == 'dependabot[bot]')
# Serial files (fileParallelism: false), 120s/test, retry 2. 45m bounds a
# wedged run while leaving headroom for retry storms against a slow API.
# Bounded file parallelism (DSH_E2E_MAX_WORKERS), 120s/test, retry 2. 45m
# still bounds retry storms against a slow API while the happy path fans out.
timeout-minutes: 45
steps:
- uses: actions/checkout@v6
@@ -108,4 +108,5 @@ jobs:
env:
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY_EXTERNAL }}
DEEPSEEK_BASE_URL: https://api.deepseek.com
DSH_E2E_MAX_WORKERS: 4
run: pnpm run test:e2e