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 - name: Chmod
run: chmod +x mvnw run: chmod +x mvnw
- name: Test with Maven - name: Test with Maven
if: ${{ matrix.java == '8' }}
run: ./mvnw test -B -Dmaven.test.skip=false 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 - name: Maven Build
run: ./mvnw install -B -V run: ./mvnw install -B -V
- name: Java Doc - name: Java Doc

1
easyexcel-test/pom.xml

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

Loading…
Cancel
Save