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.
This commit is contained in:
Kyle Carberry
2022-06-21 12:04:27 -05:00
committed by GitHub
parent e2785ada5e
commit 06ea7c8388
+1 -4
View File
@@ -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