Browse Source

Merge pull request #1307 from ulyssessouza/gotestsum

Use gotestsum to make FAILURES more visible
Nicolas De loof 4 years ago
parent
commit
de586871de
2 changed files with 3 additions and 1 deletions
  1. 2 0
      .github/workflows/ci.yml
  2. 1 1
      Makefile

+ 2 - 0
.github/workflows/ci.yml

@@ -46,6 +46,8 @@ jobs:
         with:
           go-version: 1.15
         id: go
+        run: |
+          go get -u gotest.tools/gotestsum
 
       - name: Setup docker CLI
         run: |

+ 1 - 1
Makefile

@@ -44,7 +44,7 @@ cli: ## Compile the cli
 	--output ./bin
 
 e2e-local: ## Run End to end local tests. Set E2E_TEST=TestName to run a single test
-	go test -count=1 -v $(TEST_FLAGS) ./local/e2e/compose ./local/e2e/container ./local/e2e/cli-only
+	gotestsum $(TEST_FLAGS) ./local/e2e/compose ./local/e2e/container ./local/e2e/cli-only -- -count=1
 
 e2e-win-ci: ## Run end to end local tests on Windows CI, no Docker for Linux containers available ATM. Set E2E_TEST=TestName to run a single test
 	go test -count=1 -v $(TEST_FLAGS) ./local/e2e/cli-only