From 312f9b1ecd0faed932bb2246d2d5f587feefd220 Mon Sep 17 00:00:00 2001 From: Brooooooklyn Date: Thu, 13 Feb 2025 08:40:10 +0000 Subject: [PATCH] ci: split server tests (#10141) --- .github/workflows/build-test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ef03637a19..c134d06614 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -394,6 +394,11 @@ jobs: - optimize_ci - build-server-native if: needs.optimize_ci.outputs.skip == 'false' + strategy: + fail-fast: false + matrix: + node_index: [0, 1, 2] + total_nodes: [3] env: NODE_ENV: test DISTRIBUTION: web @@ -443,6 +448,8 @@ jobs: env: CARGO_TARGET_DIR: '${{ github.workspace }}/target' COPILOT_OPENAI_API_KEY: 'use_fake_openai_api_key' + CI_NODE_INDEX: ${{ matrix.node_index }} + CI_NODE_TOTAL: ${{ matrix.total_nodes }} - name: Upload server test coverage results uses: codecov/codecov-action@v5