修改运行脚本

This commit is contained in:
Jiaju Zhuang 2024-06-18 18:33:53 +08:00
parent c52385f05b
commit 535a1067ab
2 changed files with 4 additions and 1 deletions

View File

@ -46,7 +46,11 @@ jobs:
- name: Chmod
run: chmod +x mvnw
- name: Test with Maven
if: ${{ matrix.java == '8' }}
run: ./mvnw test -B -Dmaven.test.skip=false
- name: Test with Maven
if: ${{ matrix.java != '8' }}
run: ./mvnw test -B -Dmaven.test.skip=false --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED
- name: Maven Build
run: ./mvnw install -B -V
- name: Java Doc

View File

@ -71,7 +71,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED</argLine>
<includes>
<include>/com/alibaba/easyexcel/test/core/**/*.java</include>
</includes>