Skip to content

Commit 7522186

Browse files
committed
Setup initial test matrix for test classes.
1 parent f4f2162 commit 7522186

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

.github/workflows/check-e2e.yml

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,31 @@ permissions:
4141

4242
jobs:
4343
e2e:
44-
name: End-to-end Tests (Java ${{ matrix.java }})
44+
name: E2E ${{ matrix.test-class }} (Java ${{ matrix.java }})
4545
runs-on: ubuntu-latest
4646
permissions:
4747
id-token: write
4848
environment: E2E
4949
strategy:
5050
fail-fast: false
51-
max-parallel: 4
51+
max-parallel: 3
5252
matrix:
5353
java:
5454
- 11
5555
- 17
5656
- 21
5757
- 25
58+
test-class:
59+
- BatchE2ET
60+
- IdempotencyE2ET
61+
- LargeMessageE2ET
62+
- LargeMessageIdempotentE2ET
63+
- LoggingE2ET
64+
- MetricsE2ET
65+
- ParametersE2ET
66+
- TracingE2ET
67+
- ValidationALBE2ET
68+
- ValidationApiGWE2ET
5869

5970
steps:
6071
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -72,20 +83,30 @@ jobs:
7283
- name: Run e2e test with Maven
7384
env:
7485
JAVA_VERSION: ${{ matrix.java }}
75-
run: mvn -DskipTests -ntp install --file pom.xml && mvn -Pe2e -B -ntp verify --file powertools-e2e-tests/pom.xml
86+
run: >
87+
mvn -DskipTests -ntp install --file pom.xml &&
88+
mvn -Pe2e -B -ntp
89+
-Dit.test="${{ matrix.test-class }}"
90+
verify --file powertools-e2e-tests/pom.xml
7691
7792
e2e-graal:
78-
name: End-to-end GraalVM Tests (Java ${{ matrix.java }})
93+
name: E2E GraalVM ${{ matrix.test-class }} (Java ${{ matrix.java }})
7994
runs-on: ubuntu-latest
8095
permissions:
8196
id-token: write
8297
environment: E2E
8398
strategy:
8499
fail-fast: false
85-
max-parallel: 1
100+
max-parallel: 3
86101
matrix:
87102
java:
88103
- 25
104+
test-class:
105+
- MetricsE2ET
106+
- LoggingE2ET
107+
- ParametersE2ET
108+
- TracingE2ET
109+
- IdempotencyE2ET
89110

90111
steps:
91112
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -103,4 +124,8 @@ jobs:
103124
- name: Run e2e-graal test with Maven
104125
env:
105126
JAVA_VERSION: ${{ matrix.java }}
106-
run: mvn -DskipTests -ntp install --file pom.xml && mvn -Pe2e-graal -B -ntp verify --file powertools-e2e-tests/pom.xml
127+
run: >
128+
mvn -DskipTests -ntp install --file pom.xml &&
129+
mvn -Pe2e-graal -B -ntp
130+
-Dit.test="${{ matrix.test-class }}"
131+
verify --file powertools-e2e-tests/pom.xml

0 commit comments

Comments
 (0)