From 06ea7c8388bb9006038fe6ad670f0522c08f8093 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 21 Jun 2022 12:04:27 -0500 Subject: [PATCH] test: Remove max processes on Windows runner (#2457) This was added because the runner was running out of memory. It has potential to reduce our CI time significantly, so we'll see if it still happens. --- .github/workflows/coder.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index 98eed66af4..6d44de19ba 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -202,13 +202,10 @@ jobs: - name: Test with Mock Database shell: bash - env: - GOCOUNT: ${{ runner.os == 'Windows' && 1 || 2 }} - GOMAXPROCS: ${{ runner.os == 'Windows' && 1 || 2 }} run: gotestsum --junitfile="gotests.xml" --packages="./..." -- -covermode=atomic -coverprofile="gotests.coverage" -coverpkg=./...,github.com/coder/coder/codersdk - -timeout=5m -count=$GOCOUNT -short -failfast + -timeout=5m -short -failfast - name: Upload DataDog Trace if: always() && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork