Skip to content

Commit 1f0c69d

Browse files
committed
fix: run e2e tests from root dir for spotless to find its configuration
Signed-off-by: Chris Laprun <[email protected]>
1 parent 1a1ea37 commit 1f0c69d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
sample_operators_tests:
2020
strategy:
2121
matrix:
22-
sample_dir:
22+
sample:
2323
- "sample-operators/mysql-schema"
2424
- "sample-operators/tomcat-operator"
2525
- "sample-operators/webpage"
@@ -48,12 +48,10 @@ jobs:
4848
run: mvn install -DskipTests
4949

5050
- name: Run integration tests in local mode
51-
working-directory: ${{ matrix.sample_dir }}
5251
run: |
53-
mvn test -P end-to-end-tests
52+
mvn test -P end-to-end-tests -pl ${{ matrix.sample }}
5453
5554
- name: Run E2E tests as a deployment
56-
working-directory: ${{ matrix.sample_dir }}
5755
run: |
5856
eval $(minikube -p minikube docker-env)
59-
mvn jib:dockerBuild test -P end-to-end-tests -Dtest.deployment=remote
57+
mvn jib:dockerBuild test -P end-to-end-tests -Dtest.deployment=remote -pl ${{ matrix.sample }}

0 commit comments

Comments
 (0)