File tree 2 files changed +19
-2
lines changed
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ jobs:
255
255
files : ./gotests.coverage
256
256
flags : unittest-go-${{ matrix.os }}
257
257
258
- test-go-psql :
258
+ test-go-pg :
259
259
runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
260
260
# This timeout must be greater than the timeout set by `go test` in
261
261
# `make test-postgres` to ensure we receive a trace of running
@@ -311,6 +311,23 @@ jobs:
311
311
files : ./gotests.coverage
312
312
flags : unittest-go-postgres-linux
313
313
314
+ test-go-race :
315
+ runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
316
+ timeout-minutes : 25
317
+ steps :
318
+ - uses : actions/checkout@v3
319
+
320
+ - uses : ./.github/actions/setup-go
321
+
322
+ - uses : hashicorp/setup-terraform@v2
323
+ with :
324
+ terraform_version : 1.1.9
325
+ terraform_wrapper : false
326
+
327
+ - name : Run Tests
328
+ run : |
329
+ go test -race ./...
330
+
314
331
deploy :
315
332
name : " deploy"
316
333
runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
Original file line number Diff line number Diff line change @@ -615,7 +615,7 @@ test-postgres: test-clean test-postgres-docker
615
615
--packages=" ./..." -- \
616
616
-covermode=atomic -coverprofile=" gotests.coverage" -timeout=20m \
617
617
-coverpkg=./... \
618
- -race - failfast
618
+ -failfast
619
619
.PHONY : test-postgres
620
620
621
621
test-postgres-docker :
You can’t perform that action at this time.
0 commit comments