mirror of https://github.com/docker/compose.git
Add 🥒 GHA workflow
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
62b3e7409e
commit
4ad87463c5
|
@ -134,6 +134,7 @@ jobs:
|
||||||
mode:
|
mode:
|
||||||
- plugin
|
- plugin
|
||||||
- standalone
|
- standalone
|
||||||
|
- cucumber
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
|
@ -186,6 +187,11 @@ jobs:
|
||||||
rm -f /usr/local/bin/docker-compose
|
rm -f /usr/local/bin/docker-compose
|
||||||
cp bin/build/docker-compose /usr/local/bin
|
cp bin/build/docker-compose /usr/local/bin
|
||||||
make e2e-compose-standalone
|
make e2e-compose-standalone
|
||||||
|
-
|
||||||
|
name: Run cucumber tests
|
||||||
|
if: ${{ matrix.mode == 'cucumber'}}
|
||||||
|
run: |
|
||||||
|
make test-cucumber
|
||||||
|
|
||||||
release:
|
release:
|
||||||
permissions:
|
permissions:
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -67,6 +67,10 @@ e2e-compose: ## Run end to end local tests in plugin mode. Set E2E_TEST=TestName
|
||||||
e2e-compose-standalone: ## Run End to end local tests in standalone mode. Set E2E_TEST=TestName to run a single test
|
e2e-compose-standalone: ## Run End to end local tests in standalone mode. Set E2E_TEST=TestName to run a single test
|
||||||
go test $(TEST_FLAGS) -v -count=1 -parallel=1 --tags=standalone ./pkg/e2e
|
go test $(TEST_FLAGS) -v -count=1 -parallel=1 --tags=standalone ./pkg/e2e
|
||||||
|
|
||||||
|
.PHONY: test-cucumber
|
||||||
|
test-cucumber:
|
||||||
|
go test $(TEST_FLAGS) -v -count=1 -parallel=1 ./e2e
|
||||||
|
|
||||||
.PHONY: build-and-e2e-compose
|
.PHONY: build-and-e2e-compose
|
||||||
build-and-e2e-compose: build e2e-compose ## Compile the compose cli-plugin and run end to end local tests in plugin mode. Set E2E_TEST=TestName to run a single test
|
build-and-e2e-compose: build e2e-compose ## Compile the compose cli-plugin and run end to end local tests in plugin mode. Set E2E_TEST=TestName to run a single test
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue