From ca20deeff6d859ab09cda114a51449db66e6d8dc Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 1 Oct 2019 18:10:00 +1000 Subject: [PATCH] CI: Run bench tests with race detector --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2939896e..31eb3730 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,7 @@ jobs: keys: - go-cache- - run: go get -d ./... - - run: go test -v -race ./... -count 2 + - run: go test -v -race ./... -count 2 -bench . - run: go test -bench . ./... - run: set +e; CGO_ENABLED=0 go test -v ./...; true - run: GOARCH=386 go test ./... -count 2 -bench .