GeezerVison is showing github.com — test(ci): Windowsの同時実行数を制限する · Cor-Incorporated/opencode@03a9511
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test.yml +4-3Lines changed: 4 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -126,12 +126,13 @@ jobs: |
126 | 126 | - name: Run unit tests |
127 | 127 | timeout-minutes: 20 |
128 | 128 | run: | |
129 | | - # The runners have four vCPUs, and each Bun test process performs its own concurrent work. |
| 129 | + # Each Bun process performs concurrent work on four-vCPU runners. The fork's Windows suites |
| 130 | + # include ACL subprocess checks, so run packages serially within their existing five-second budget. |
130 | 131 | if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then |
131 | | - GITHUB_ACTIONS=false bun turbo test --concurrency=3 |
| 132 | + GITHUB_ACTIONS=false bun turbo test --concurrency=${{ runner.os == 'Windows' && github.repository != 'anomalyco/opencode' && 1 || 3 }} |
132 | 133 | exit 0 |
133 | 134 | fi |
134 | | - GITHUB_ACTIONS=false bun turbo test --affected --concurrency=3 |
| 135 | + GITHUB_ACTIONS=false bun turbo test --affected --concurrency=${{ runner.os == 'Windows' && github.repository != 'anomalyco/opencode' && 1 || 3 }} |
135 | 136 | env: |
136 | 137 | OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER: ${{ runner.os == 'Windows' && 'true' || 'false' }} |
137 | 138 | TURBO_SCM_BASE: ${{ github.event_name == 'pull_request' && format('{0}^1', github.sha) || github.event.before }} |
|