mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 00:57:45 +00:00
ci: run full unit shards on eight-core workers (#32567)
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
runner: [ubuntu-24.04-arm, blacksmith-4vcpu-ubuntu-2404]
|
||||
runner: [ubuntu-24.04-arm, blacksmith-8vcpu-ubuntu-2404]
|
||||
runs-on: ${{ matrix.runner }}
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
|
||||
@@ -894,7 +894,7 @@ jobs:
|
||||
uses: ./.github/workflows/unit-tests.yml
|
||||
with:
|
||||
node_versions: '["24"]'
|
||||
runner: blacksmith-4vcpu-ubuntu-2404
|
||||
runner: blacksmith-8vcpu-ubuntu-2404
|
||||
phase_diagnostics: true
|
||||
shards: ${{ needs.preflight.outputs.shards }}
|
||||
run_shards: ${{ needs.code_paths.outputs.mobile_ci_tools != 'true' }}
|
||||
|
||||
@@ -175,7 +175,7 @@ jobs:
|
||||
export ORCA_SHARD_SOURCE_SHA
|
||||
node config/scripts/run-vitest.mjs run --config config/vitest.config.ts \
|
||||
--shard=${{ matrix.shard.index }}/${{ matrix.shard.count }} \
|
||||
${{ (runner.arch == 'ARM64' || inputs.runner == 'blacksmith-4vcpu-ubuntu-2404') && '--maxWorkers=4' || '' }}
|
||||
${{ inputs.runner == 'blacksmith-8vcpu-ubuntu-2404' && '--maxWorkers=8' || (runner.arch == 'ARM64' || inputs.runner == 'blacksmith-4vcpu-ubuntu-2404') && '--maxWorkers=4' || '' }}
|
||||
|
||||
- name: Seal unit module cache
|
||||
id: module-cache-seal
|
||||
|
||||
Reference in New Issue
Block a user