mirror of https://github.com/docker/compose.git
Merge pull request #1307 from ulyssessouza/gotestsum
Use gotestsum to make FAILURES more visible
This commit is contained in:
commit
de586871de
|
@ -46,6 +46,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: 1.15
|
go-version: 1.15
|
||||||
id: go
|
id: go
|
||||||
|
run: |
|
||||||
|
go get -u gotest.tools/gotestsum
|
||||||
|
|
||||||
- name: Setup docker CLI
|
- name: Setup docker CLI
|
||||||
run: |
|
run: |
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -44,7 +44,7 @@ cli: ## Compile the cli
|
||||||
--output ./bin
|
--output ./bin
|
||||||
|
|
||||||
e2e-local: ## Run End to end local tests. Set E2E_TEST=TestName to run a single test
|
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
|
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
|
go test -count=1 -v $(TEST_FLAGS) ./local/e2e/cli-only
|
||||||
|
|
Loading…
Reference in New Issue