diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 5e0a629bbc..5450a18a3f 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -19,7 +19,7 @@ jobs:
sample_operators_tests:
strategy:
matrix:
- sample_dir:
+ sample:
- "sample-operators/mysql-schema"
- "sample-operators/tomcat-operator"
- "sample-operators/webpage"
@@ -48,12 +48,10 @@ jobs:
run: mvn install -DskipTests
- name: Run integration tests in local mode
- working-directory: ${{ matrix.sample_dir }}
run: |
- mvn test -P end-to-end-tests
+ mvn test -P end-to-end-tests -pl ${{ matrix.sample }}
- name: Run E2E tests as a deployment
- working-directory: ${{ matrix.sample_dir }}
run: |
eval $(minikube -p minikube docker-env)
- mvn jib:dockerBuild test -P end-to-end-tests -Dtest.deployment=remote
+ mvn jib:dockerBuild test -P end-to-end-tests -Dtest.deployment=remote -pl ${{ matrix.sample }}
diff --git a/pom.xml b/pom.xml
index d3b9d6391d..0d922dbb17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -323,9 +323,11 @@
pom.xml
- ./**/pom.xml
+ ./**/pom.xml
-
+
+ false
+
@@ -334,9 +336,17 @@
contributing/eclipse.importorder
-
+
+
+
+
+ apply
+
+ compile
+
+
org.apache.maven.plugins