From 4218d27ef8449d7c6807b284d493abfb45b116a7 Mon Sep 17 00:00:00 2001 From: sbailey <1661003+spbsoluble@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:30:39 -0700 Subject: [PATCH] fix(tests): `store-types create --all` adding logging around environment. --- cmd/storeTypes_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/storeTypes_test.go b/cmd/storeTypes_test.go index 3ec805c0..6069b87a 100644 --- a/cmd/storeTypes_test.go +++ b/cmd/storeTypes_test.go @@ -216,10 +216,13 @@ func createAllStoreTypes(t *testing.T, storeTypes map[string]interface{}) { // check if I'm running inside a Github Action testArgs := []string{"store-types", "create", "--all"} isGhAction := os.Getenv("GITHUB_ACTIONS") + t.Log("GITHUB_ACTIONS: ", isGhAction) if isGhAction == "true" { ghBranch := os.Getenv("GITHUB_REF") testArgs = append(testArgs, "--git-ref", ghBranch) + t.Log("GITHUB_REF: ", ghBranch) } + t.Log("testArgs: ", testArgs) // Attempt to get the AWS store type because it comes with the product testCmd.SetArgs(testArgs)