Skip to content

Commit 7aae00e

Browse files
committed
Add test job for Spring Boot 3 RC
1 parent fd59765 commit 7aae00e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,35 @@ jobs:
7272
name: reports
7373
path: ./**/target/surefire-reports
7474

75+
test-spring-boot-3-rc:
76+
if: contains(github.event.head_commit.message, '[skip ci]') == false
77+
runs-on: ubuntu-latest
78+
timeout-minutes: 30
79+
needs: [ test ]
80+
81+
steps:
82+
- uses: actions/checkout@v3
83+
84+
- name: Set up JDK
85+
uses: actions/setup-java@v3
86+
with:
87+
distribution: zulu
88+
java-version: 17
89+
cache: maven
90+
91+
- name: Grant execute permission for mvnw
92+
run: chmod +x mvnw
93+
94+
- name: Test with Maven
95+
run: ./mvnw $MAVEN_CLI_OPTS -pl :doma-spring-boot-core,:doma-spring-boot-autoconfigure,:doma-spring-boot-starter test -Dspring-boot.version=3.0.0-RC2
96+
97+
- name: Upload reports
98+
if: failure()
99+
uses: actions/upload-artifact@v3
100+
with:
101+
name: reports
102+
path: ./**/target/surefire-reports
103+
75104
test-slf4j-backward-compatible:
76105
if: contains(github.event.head_commit.message, '[skip ci]') == false
77106
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)