GeezerVison is showing github.com — [ci] Fix #5873: Run integration tests with Java 25 additionally · adangel/pmd@33447d5
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/build.yml +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -131,6 +131,7 @@ jobs: |
131 | 131 | 8 |
132 | 132 | 11 |
133 | 133 | 21 |
| 134 | + 25 |
134 | 135 | - uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 #v5.0.0 |
135 | 136 | # default java version for all os is 17 |
136 | 137 | with: |
@@ -160,7 +161,8 @@ jobs: |
160 | 161 | -PfastSkip -Dcyclonedx.skip=false \ |
161 | 162 | -Djava8.home="${JAVA_HOME_8_X64}" \ |
162 | 163 | -Djava11.home="${JAVA_HOME_11_X64}" \ |
163 | | - -Djava21.home="${JAVA_HOME_21_X64}" |
| 164 | + -Djava21.home="${JAVA_HOME_21_X64}" \ |
| 165 | + -Djava25.home="${JAVA_HOME_25_X64}" |
164 | 166 |
|
165 | 167 | dogfood: |
166 | 168 | needs: compile |
|
Collapse file
Copy file name to clipboardExpand all lines: docs/pages/release_notes.md +2Lines changed: 2 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -55,6 +55,7 @@ checkstyle version during the build. |
55 | 55 | ### 🐛 Fixed Issues |
56 | 56 | * general |
57 | 57 | * [#4714](https://github.com/pmd/pmd/issues/4714): \[core] Allow trailing commas in multivalued properties |
| 58 | + * [#5873](https://github.com/pmd/pmd/issues/5873): \[ci] Run integration test with Java 25 |
58 | 59 | * [#6012](https://github.com/pmd/pmd/issues/6012): \[pmd-rulesets] Rulesets should be in alphabetical order |
59 | 60 | * [#6073](https://github.com/pmd/pmd/issues/6073): \[doc] Search improvements |
60 | 61 | * apex |
@@ -125,6 +126,7 @@ checkstyle version during the build. |
125 | 126 | * [#6082](https://github.com/pmd/pmd/pull/6082): \[java] Fix false positives in UselessPureMethodCall for streams and atomics - [Zbynek Konecny](https://github.com/zbynek) (@zbynek) |
126 | 127 | * [#6083](https://github.com/pmd/pmd/pull/6083): \[java] New rule IdenticalConditionalBranches - [Zbynek Konecny](https://github.com/zbynek) (@zbynek) |
127 | 128 | * [#6085](https://github.com/pmd/pmd/pull/6085): \[java] Fix false positive for ModifierOrder - [Zbynek Konecny](https://github.com/zbynek) (@zbynek) |
| 129 | +* [#6093](https://github.com/pmd/pmd/pull/6093): \[ci] Fix #5873: Run integration tests with Java 25 additionally - [Andreas Dangel](https://github.com/adangel) (@adangel) |
128 | 130 | * [#6100](https://github.com/pmd/pmd/pull/6100): \[java] AvoidDeeplyNestedIfStmts: fix false negative with if-else - [Zbynek Konecny](https://github.com/zbynek) (@zbynek) |
129 | 131 | * [#6112](https://github.com/pmd/pmd/pull/6112): \[java] DanglingJavadoc: fix false positive for compact constructors - [Zbynek Konecny](https://github.com/zbynek) (@zbynek) |
130 | 132 | * [#6114](https://github.com/pmd/pmd/pull/6114): \[java] Fix #4122: CheckResultSet false-positive with local variable - [Lukas Gräf](https://github.com/lukasgraef) (@lukasgraef) |
|
Collapse file
Copy file name to clipboardExpand all lines: pmd-dist/pom.xml +31Lines changed: 31 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
277 | 277 | </plugins> |
278 | 278 | </build> |
279 | 279 | </profile> |
| 280 | + <profile> |
| 281 | + <id>jdk25-compat-it</id> |
| 282 | + <activation> |
| 283 | + <property> |
| 284 | + <name>java25.home</name> |
| 285 | + </property> |
| 286 | + </activation> |
| 287 | + <build> |
| 288 | + <plugins> |
| 289 | + <plugin> |
| 290 | + <groupId>org.apache.maven.plugins</groupId> |
| 291 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 292 | + <executions> |
| 293 | + <execution> |
| 294 | + <id>jdk25-compat-it</id> |
| 295 | + <goals> |
| 296 | + <goal>integration-test</goal> |
| 297 | + <goal>verify</goal> |
| 298 | + </goals> |
| 299 | + <configuration> |
| 300 | + <environmentVariables> |
| 301 | + <JAVA_HOME>${java25.home}</JAVA_HOME> |
| 302 | + <PATH>${java25.home}/bin:${env.PATH}</PATH> |
| 303 | + </environmentVariables> |
| 304 | + </configuration> |
| 305 | + </execution> |
| 306 | + </executions> |
| 307 | + </plugin> |
| 308 | + </plugins> |
| 309 | + </build> |
| 310 | + </profile> |
280 | 311 | </profiles> |
281 | 312 | </project> |