Skip to content

Commit eb31721

Browse files
committed
java: Various CI improvements
This bulk update includes * Use Eclipse Temurin instead of Azul Zulu * Set fail-fast: true on matrix strategies to reduce CI time * Use the junit-jupiter aggregator module instead of junit-jupiter-engine * Use single quotes around values in yaml for consistency
1 parent b93c6db commit eb31721

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/test-java.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,19 @@ jobs:
2222
test-java:
2323
runs-on: ${{ matrix.os }}
2424
strategy:
25-
fail-fast: false
25+
fail-fast: true
2626
matrix:
2727
os:
2828
- ubuntu-latest
29-
java: ["17", "21"]
29+
java: ['17', '21']
3030

3131
steps:
3232
- uses: actions/checkout@v5
33-
3433
- uses: actions/setup-java@v5
3534
with:
36-
distribution: "zulu"
35+
distribution: 'temurin'
3736
java-version: ${{ matrix.java }}
38-
cache: "maven"
37+
cache: 'maven'
3938

4039
- run: mvn verify
4140
working-directory: java
@@ -45,8 +44,8 @@ jobs:
4544
- uses: actions/checkout@v5
4645
- uses: actions/setup-java@v5
4746
with:
48-
distribution: "temurin"
47+
distribution: 'temurin'
4948
java-version: 17
50-
cache: "maven"
49+
cache: 'maven'
5150
- run: mvn test-compile org.pitest:pitest-maven:mutationCoverage
5251
working-directory: java

java/pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,7 @@
100100

101101
<dependency>
102102
<groupId>org.junit.jupiter</groupId>
103-
<artifactId>junit-jupiter-engine</artifactId>
104-
<scope>test</scope>
105-
</dependency>
106-
107-
<dependency>
108-
<groupId>org.junit.jupiter</groupId>
109-
<artifactId>junit-jupiter-params</artifactId>
103+
<artifactId>junit-jupiter</artifactId>
110104
<scope>test</scope>
111105
</dependency>
112106

0 commit comments

Comments
 (0)