Use race detector on Github CI
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
PGVERSION: ${{ matrix.pg_version }}
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
run: go test -v -race ./...
|
||||
env:
|
||||
PGX_TEST_CONN_STRING: postgres://pgx_md5:secret@127.0.0.1/pgx_test
|
||||
PGX_TEST_UNIX_SOCKET_CONN_STRING: "host=/var/run/postgresql dbname=pgx_test"
|
||||
|
||||
Reference in New Issue
Block a user