Skip to content

Commit

Permalink
Run tests with -race flag to detect race conditions.
Browse files Browse the repository at this point in the history
Closes #197
  • Loading branch information
jrasell committed Jun 29, 2018
1 parent aa018a2 commit c1c1677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ build: ## Build Levant for development purposes

test: ## Run the Levant test suite with coverage
@echo "==> Running $@..."
@go test -cover -v -tags \
"$(BUILDTAGS) cgo" $(shell go list ./... | grep -v vendor)
@go test -cover -v -tags -race \
"$(BUILDTAGS)" $(shell go list ./... | grep -v vendor)

release: ## Trigger the release build script
@echo "==> Running $@..."
Expand Down

0 comments on commit c1c1677

Please sign in to comment.