mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-10-30 17:27:09 +00:00
ci(cli): run Test (cli) as two shards so it finishes well under its limit
This commit is contained in:
@@ -563,17 +563,21 @@ jobs:
|
||||
- run: bun run --filter '@hyperframes/{core,engine}' test
|
||||
|
||||
test-cli:
|
||||
name: Test (cli)
|
||||
name: Test (cli ${{ matrix.shard }})
|
||||
needs: changes
|
||||
if: needs.changes.outputs.code == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
shard: ["1/2", "2/2"]
|
||||
steps:
|
||||
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
||||
with:
|
||||
lfs: true
|
||||
- uses: ./.github/actions/setup-test-workspace
|
||||
- run: bun run --filter '@hyperframes/cli' test
|
||||
- run: bun run --cwd packages/cli test -- --shard=${{ matrix.shard }}
|
||||
|
||||
test-support:
|
||||
name: Test (support)
|
||||
|
||||
Reference in New Issue
Block a user