bobheadxi · GitHub

Conversation

Signed-off-by: Robert Lin <robertlin1@gmail.com>
Signed-off-by: Robert Lin <robertlin1@gmail.com>

bobheadxi

- golint -set_exit_status $(go list ./... | grep -v /vendor/)
- flake8
- go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v9/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
- go test -race gopkg.in/src-d/hercules.v9/... # run race test separately to preserve -covermode=count

Closed

…aces
Signed-off-by: Robert Lin <robertlin1@gmail.com>

@bobheadxi bobheadxi changed the title Enable race detection on test run Enable race detection on test run, fix race condition

Mar 7, 2019

vmarkovtsev

- golint -set_exit_status $(go list ./... | grep -v /vendor/)
- flake8
- go test -coverpkg=all -v -coverprofile=coverage.txt -covermode=count gopkg.in/src-d/hercules.v9/... && sed -i '/cmd\/hercules\|core.go/d' coverage.txt
- go test -race gopkg.in/src-d/hercules.v9/... # run race test separately to preserve -covermode=count

@vmarkovtsev

dmytrogajewski pushed a commit to dmytrogajewski/hercules that referenced this pull request

Jul 28, 2025
Enable race detection on test run, fix race condition

CWBudde pushed a commit to CWBudde/hercules that referenced this pull request

Apr 10, 2026
Enable race detection on test run, fix race condition

Labels

None yet

Read the original on github.com ↗