node: Add race detection to unit tests in CI

This commit is contained in:
Chirantan Ekbote 2022-09-20 19:30:36 +09:00 committed by Chirantan Ekbote
parent 9989730d8f
commit 3103e59217
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ jobs:
# The go-ethereum and celo-blockchain packages both implement secp256k1 using the exact same header, but that causes duplicate symbols.
- name: Run golang tests
run: cd node && go test -v -ldflags '-extldflags "-Wl,--allow-multiple-definition" ' ./...
run: cd node && go test -v -race -ldflags '-extldflags "-Wl,--allow-multiple-definition" ' ./...
# Run Rust lints and tests
rust-lint-and-tests: