Skip to content

Commit 6f1f35b

Browse files
committed
Try full build without caching
1 parent 8c3b61c commit 6f1f35b

File tree

1 file changed

+9
-48
lines changed

1 file changed

+9
-48
lines changed

.github/workflows/validate.yml

Lines changed: 9 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ jobs:
9595
-Ptests \
9696
install
9797
build-latest-java:
98-
needs: test-results
99-
timeout-minutes: 15
98+
timeout-minutes: 40
10099
runs-on: ubuntu-22.04
101100
steps:
102101
- uses: actions/checkout@v4
@@ -108,52 +107,14 @@ jobs:
108107
website: jdk.java.net
109108
release: ea
110109
version: stable
111-
- uses: ./.github/actions/common
112-
with:
113-
build-cache: read-write
114-
maven-cache: read-write
115-
setup-java: false
116-
run: |
117-
mvn ${MVN_ARGS} --version
118-
mvn ${MVN_ARGS} build-cache:go-offline
119-
mvn ${MVN_ARGS} -T8 \
120-
-Dorg.slf4j.simpleLogger.showThreadName=true \
121-
-DskipTests \
122-
-Ptests \
123-
install
124-
_tests-latest-java:
125-
needs: build-latest-java
126-
timeout-minutes: 30
127-
strategy:
128-
matrix:
129-
os: [ ubuntu-22.04, windows-2022 ]
130-
moduleSet: [ core, it, jpa, jpa-oracle, dbclient, dbclient-oracle, others ]
131-
include:
132-
- { os: ubuntu-22.04, platform: linux }
133-
- { os: windows-2022, platform: windows }
134-
runs-on: ${{ matrix.os }}
135-
name: tests/${{ matrix.moduleSet }}-${{matrix.platform}}-latest-java
136-
steps:
137-
- uses: actions/checkout@v4
138-
with:
139-
ref: ${{ inputs.ref }}
140-
- uses: oracle-actions/setup-java@v1
141-
with:
142-
website: jdk.java.net
143-
release: ea
144-
version: stable
145-
- uses: ./.github/actions/common
146-
with:
147-
build-cache: read-only
148-
setup-java: false
149-
test-artifact-name: tests-${{ matrix.moduleSet }}-${{ matrix.platform }}-latest-java
150-
run: |
151-
mvn --version
152-
mvn ${MVN_ARGS} \
153-
-DreactorRule=tests \
154-
-DmoduleSet=${{ matrix.moduleSet }} \
155-
-Dsurefire.reportNameSuffix=${{ matrix.platform }} \
156-
verify
110+
- name: Run Maven Build
111+
run: |
112+
mvn ${MVN_ARGS} --version
113+
mvn ${MVN_ARGS} -T8 \
114+
-Dorg.slf4j.simpleLogger.showThreadName=true \
115+
-Ptests \
116+
clean \
117+
install
157118
_tests:
158119
needs: build
159120
timeout-minutes: 30

0 commit comments

Comments
 (0)