Use gotestsum to make FAILURES more visible

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2021-02-15 17:36:42 -03:00
parent 9063c138ba
commit 18900cfcd0
2 changed files with 3 additions and 1 deletions
.github/workflows
Makefile

View File

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

View File

@ -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