瀏覽代碼

Merge pull request #1307 from ulyssessouza/gotestsum

Use gotestsum to make FAILURES more visible
Nicolas De loof 4 年之前
父節點
當前提交
de586871de
共有 2 個文件被更改,包括 3 次插入1 次删除
  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