Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 535a106

Browse files
committed
修改运行脚本
1 parent c52385f commit 535a106

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ jobs:
4646
- name: Chmod
4747
run: chmod +x mvnw
4848
- name: Test with Maven
49+
if: ${{ matrix.java == '8' }}
4950
run: ./mvnw test -B -Dmaven.test.skip=false
51+
- name: Test with Maven
52+
if: ${{ matrix.java != '8' }}
53+
run: ./mvnw test -B -Dmaven.test.skip=false --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED
5054
- name: Maven Build
5155
run: ./mvnw install -B -V
5256
- name: Java Doc

easyexcel-test/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
<groupId>org.apache.maven.plugins</groupId>
7272
<artifactId>maven-surefire-plugin</artifactId>
7373
<configuration>
74-
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
7574
<includes>
7675
<include>/com/alibaba/easyexcel/test/core/**/*.java</include>
7776
</includes>

0 commit comments

Comments
 (0)