浏览代码

Add :cucumber: GHA workflow

Signed-off-by: Laura Brehm <[email protected]>
Laura Brehm 2 年之前
父节点
当前提交
4ad87463c5
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 6 0
      .github/workflows/ci.yml
  2. 4 0
      Makefile

+ 6 - 0
.github/workflows/ci.yml

@@ -134,6 +134,7 @@ jobs:
         mode:
           - plugin
           - standalone
+          - cucumber
     steps:
       -
         name: Checkout
@@ -186,6 +187,11 @@ jobs:
           rm -f /usr/local/bin/docker-compose
           cp bin/build/docker-compose /usr/local/bin
           make e2e-compose-standalone
+      -
+        name: Run cucumber tests
+        if: ${{ matrix.mode == 'cucumber'}}
+        run: |
+          make test-cucumber
 
   release:
     permissions:

+ 4 - 0
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
 	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
 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