Skip to content

Commit 1a2344f

Browse files
committed
Skip running with race on non-Linux systems
1 parent 642e4ba commit 1a2344f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/coder.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
run: gotestsum --junitfile="gotests.xml" --packages="./..." --
174174
-covermode=atomic -coverprofile="gotests.coverage"
175175
-coverpkg=./...,github.com/coder/coder/codersdk
176-
-timeout=3m -count=$GOCOUNT -race -short -failfast
176+
-timeout=3m -count=$GOCOUNT -short -failfast
177177

178178
- name: Upload DataDog Trace
179179
if: (success() || failure()) && github.actor != 'dependabot[bot]'
@@ -189,7 +189,7 @@ jobs:
189189
run: DB=true gotestsum --junitfile="gotests.xml" --packages="./..." --
190190
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
191191
-coverpkg=./...,github.com/coder/coder/codersdk
192-
-count=1 -parallel=2 -failfast
192+
-count=1 -parallel=2 -race -failfast
193193

194194
- name: Upload DataDog Trace
195195
if: (success() || failure()) && github.actor != 'dependabot[bot]' && runner.os == 'Linux'

0 commit comments

Comments
 (0)