Skip to content

Commit

Permalink
Updates test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
CGoodwin90 committed Jul 5, 2024
1 parent 7257e3e commit 256daf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ deps:
test: gen
GO111MODULE=on $(GOCMD) fmt ./...
GO111MODULE=on $(GOCMD) vet ./...
GO111MODULE=on $(GOCMD) test -v ./...
GO111MODULE=on $(GOCMD) test -v -run '^Test(A[^P].*|[^A].*)' ./...

clean:
$(GOCMD) clean
Expand Down Expand Up @@ -117,7 +117,7 @@ release-major:
api-tests: gen
GO111MODULE=on $(GOCMD) fmt ./...
GO111MODULE=on $(GOCMD) vet ./...
GO111MODULE=on $(GOCMD) test -v -run '(TestEnvironmentCommands|TestProjectCommands)' ./...
GO111MODULE=on $(GOCMD) test -v -run '^(TestAPI)' ./...

# upstream
CI_BUILD_TAG ?= lagoon-cli
Expand Down
2 changes: 1 addition & 1 deletion cmd/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"
)

func TestEnvironmentCommands(t *testing.T) {
func TestAPIEnvironmentCommands(t *testing.T) {
tests := []struct {
name string
cmdArgs []string
Expand Down
2 changes: 1 addition & 1 deletion cmd/project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra"
)

func TestProjectCommands(t *testing.T) {
func TestAPIProjectCommands(t *testing.T) {
tests := []struct {
name string
cmdArgs []string
Expand Down

0 comments on commit 256daf7

Please sign in to comment.