File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ jobs:
514
514
515
515
test-js :
516
516
name : " test/js"
517
- runs-on : ubuntu-latest
517
+ runs-on : ${{ github.repository_owner == 'coder' && ' ubuntu-latest-16-cores' || 'ubuntu-latest' }}
518
518
timeout-minutes : 20
519
519
steps :
520
520
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -463,6 +463,8 @@ test: test-clean
463
463
# When updating -timeout for this test, keep in sync with
464
464
# test-go-postgres (.github/workflows/coder.yaml).
465
465
test-postgres : test-clean test-postgres-docker
466
+ # The postgres test is prone to failure, so we limit parallelism for
467
+ # more consistent execution.
466
468
DB=ci DB_FROM=$(shell go run scripts/migrate-ci/main.go) gotestsum --junitfile=" gotests.xml" --packages=" ./..." -- \
467
469
-covermode=atomic -coverprofile=" gotests.coverage" -timeout=20m \
468
470
-parallel=4 \
You can’t perform that action at this time.
0 commit comments