mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
ci: split server tests (#10141)
This commit is contained in:
7
.github/workflows/build-test.yml
vendored
7
.github/workflows/build-test.yml
vendored
@@ -394,6 +394,11 @@ jobs:
|
|||||||
- optimize_ci
|
- optimize_ci
|
||||||
- build-server-native
|
- build-server-native
|
||||||
if: needs.optimize_ci.outputs.skip == 'false'
|
if: needs.optimize_ci.outputs.skip == 'false'
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
node_index: [0, 1, 2]
|
||||||
|
total_nodes: [3]
|
||||||
env:
|
env:
|
||||||
NODE_ENV: test
|
NODE_ENV: test
|
||||||
DISTRIBUTION: web
|
DISTRIBUTION: web
|
||||||
@@ -443,6 +448,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
|
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
|
||||||
COPILOT_OPENAI_API_KEY: 'use_fake_openai_api_key'
|
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
|
- name: Upload server test coverage results
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user