ci: throttle telegram extension-fast tests

This commit is contained in:
Peter Steinberger
2026-04-23 23:09:51 +01:00
parent 7c19c31144
commit b22bf36bc4

View File

@@ -1344,7 +1344,12 @@ jobs:
- name: Run changed extension tests
env:
OPENCLAW_CHANGED_EXTENSION: ${{ matrix.extension }}
run: pnpm test:extension "$OPENCLAW_CHANGED_EXTENSION"
run: |
set -euo pipefail
if [ "$OPENCLAW_CHANGED_EXTENSION" = "telegram" ]; then
export OPENCLAW_VITEST_MAX_WORKERS=1
fi
pnpm test:extension "$OPENCLAW_CHANGED_EXTENSION"
# Types, lint, and format check shards.
check-shard: