Skip to content

Commit b212ced

Browse files
committed
Increase concurrency and move build to its own step.
1 parent 7522186 commit b212ced

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/check-e2e.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ permissions:
4040
contents: read
4141

4242
jobs:
43-
e2e:
43+
e2e:
4444
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: 3
51+
max-parallel: 10
5252
matrix:
5353
java:
5454
- 11
@@ -75,6 +75,8 @@ jobs:
7575
distribution: 'corretto'
7676
java-version: ${{ matrix.java }}
7777
cache: maven
78+
- name: Build all modules
79+
run: mvn -DskipTests -ntp install --file pom.xml
7880
- name: Setup AWS credentials
7981
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
8082
with:
@@ -84,7 +86,6 @@ jobs:
8486
env:
8587
JAVA_VERSION: ${{ matrix.java }}
8688
run: >
87-
mvn -DskipTests -ntp install --file pom.xml &&
8889
mvn -Pe2e -B -ntp
8990
-Dit.test="${{ matrix.test-class }}"
9091
verify --file powertools-e2e-tests/pom.xml
@@ -97,7 +98,7 @@ jobs:
9798
environment: E2E
9899
strategy:
99100
fail-fast: false
100-
max-parallel: 3
101+
max-parallel: 5
101102
matrix:
102103
java:
103104
- 25
@@ -116,6 +117,8 @@ jobs:
116117
distribution: 'corretto'
117118
java-version: ${{ matrix.java }}
118119
cache: maven
120+
- name: Build all modules
121+
run: mvn -DskipTests -ntp install --file pom.xml
119122
- name: Setup AWS credentials
120123
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
121124
with:
@@ -125,7 +128,6 @@ jobs:
125128
env:
126129
JAVA_VERSION: ${{ matrix.java }}
127130
run: >
128-
mvn -DskipTests -ntp install --file pom.xml &&
129131
mvn -Pe2e-graal -B -ntp
130132
-Dit.test="${{ matrix.test-class }}"
131133
verify --file powertools-e2e-tests/pom.xml

0 commit comments

Comments
 (0)