Skip to content

Commit

Permalink
feat: improve go test for the scaffolded projects uw checking race co…
Browse files Browse the repository at this point in the history
…nditionals (v3 only)
  • Loading branch information
Camila Macedo committed Jun 28, 2020
1 parent 9a8178e commit 9ab0d5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/plugin/v3/scaffolds/internal/templates/makefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ all: manager
# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...
# Build manager binary
manager: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-addon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3-multigroup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down
2 changes: 1 addition & 1 deletion testdata/project-v3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
go test -race -coverprofile cover.out ./...

# Build manager binary
manager: generate fmt vet
Expand Down

0 comments on commit 9ab0d5a

Please sign in to comment.