Skip to content

Commit

Permalink
Add race test target
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Kopping <danny@coder.com>
  • Loading branch information
dannykopping committed Apr 24, 2024
1 parent c8f502e commit 21e2081
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ build: scripts/envbuilder-$(GOARCH)
test: test-registry test-images
go test -count=1 ./...

test-race:
go test -race -count=3 ./...

# Starts a local Docker registry on port 5000 with a local disk cache.
.PHONY: test-registry
test-registry: .registry-cache
Expand Down

0 comments on commit 21e2081

Please sign in to comment.