Browse Source

修改运行脚本

developing
Jiaju Zhuang 5 months ago
parent
commit
535a1067ab
  1. 4
      .github/workflows/ci.yml
  2. 1
      easyexcel-test/pom.xml

4
.github/workflows/ci.yml

@ -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

1
easyexcel-test/pom.xml

@ -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>

Loading…
Cancel
Save