Merge pull request #1307 from ulyssessouza/gotestsum

Use gotestsum to make FAILURES more visible
This commit is contained in:
Nicolas De loof 2021-02-16 09:52:56 +01:00 committed by GitHub
commit de586871de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

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