mirror of
https://github.com/coder/coder.git
synced 2026-09-22 13:10:21 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user