Skip to content

Commit b2b690d

Browse files
committed
Check for race conditions when running go test
1 parent ea33a56 commit b2b690d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ cross: $(BUILD_DIR)/macos-amd64/crc $(BUILD_DIR)/linux-amd64/crc $(BUILD_DIR)/wi
102102

103103
.PHONY: test
104104
test:
105-
go test --tags build -v -ldflags="$(VERSION_VARIABLES)" ./pkg/... ./cmd/...
105+
go test -race --tags build -v -ldflags="$(VERSION_VARIABLES)" ./pkg/... ./cmd/...
106106

107107
.PHONY: build_docs
108108
build_docs:

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ environment:
44
GOPATH: c:\gopath
55
stack: go 1.14
66
before_test:
7+
- choco install mingw
78
- choco install make
89
- make cross
910
test_script:

0 commit comments

Comments
 (0)