Skip to content

Commit b21245c

Browse files
authored
only run race condition checks in pipeline (#7613)
1 parent 03e319a commit b21245c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,14 @@ staticcheck: ## Run staticcheck linter
7272

7373
.PHONY: test
7474
test: ## Run GoLang tests
75-
go test -tags=aws,helmunit -shuffle=on -race -coverprofile=coverage.txt -covermode=atomic ./...
75+
go test -tags=aws,helmunit -shuffle=on ./...
7676

7777
.PHONY: test-update-snaps
7878
test-update-snaps:
79-
UPDATE_SNAPS=true go test -tags=aws,helmunit -shuffle=on -race ./...
79+
UPDATE_SNAPS=true go test -tags=aws,helmunit -shuffle=on ./...
8080

81-
cover: test ## Generate coverage report
81+
cover: ## Generate coverage report
82+
go test -tags=aws,helmunit -shuffle=on -race -coverprofile=coverage.txt -covermode=atomic ./...
8283

8384
cover-html: test ## Generate and show coverage report in HTML format
8485
go tool cover -html coverage.txt

0 commit comments

Comments
 (0)