Skip to content

Commit 211e727

Browse files
committed
chore: bump windows
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 86246ba commit 211e727

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ jobs:
327327
test-go-pg:
328328
# make sure to adjust NUM_PARALLEL_PACKAGES and NUM_PARALLEL_TESTS below
329329
# when changing runner sizes
330-
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || matrix.os && matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'depot-macos-latest' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'depot-windows-2022-16' || matrix.os }}
330+
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || matrix.os && matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'depot-macos-latest' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'depot-windows-2022-32' || matrix.os }}
331331
needs: changes
332332
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
333333
# This timeout must be greater than the timeout set by `go test` in
@@ -479,9 +479,10 @@ jobs:
479479
uses: ./.github/actions/test-go-pg
480480
with:
481481
postgres-version: "13"
482-
# Our Windows runners have 16 cores. On Windows Postgres chokes when
483-
# we have 16x16=256 tests running in parallel, so we use 8x16=128.
484-
test-parallelism-packages: "8"
482+
# Our Windows runners have 32 cores. On Windows Postgres chokes when
483+
# we have 16x16=256 tests running in parallel, so we use 16x16=256
484+
# but may need to reduce if issues arise.
485+
test-parallelism-packages: "16"
485486
test-parallelism-tests: "16"
486487
# By default, run tests with cache. On main, run tests without cache.
487488
test-count: ${{ github.ref == 'refs/heads/main' && '1' || '' }}

0 commit comments

Comments
 (0)