diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0f2039a..2a4153b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,10 @@ jobs: if: ${{ matrix.java != '8' }} run: ./mvnw test -B -Dmaven.test.skip=false -DargLine="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED" - name: Maven Build - run: ./mvnw install -B -V + if: ${{ matrix.java == '8' }} + run: ./mvnw install -B -V -Dmaven.surefire.plugin.include.scope="/cn/idev/excel/test/core/**/*.java" + - name: Maven Build + if: ${{ matrix.java != '8' }} + run: ./mvnw install -B -V -Dmaven.surefire.plugin.include.scope="/cn/idev/excel/test/core/**/*.java" -DargLine="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.reflect.annotation=ALL-UNNAMED" - name: Java Doc run: ./mvnw javadoc:javadoc diff --git a/fastexcel-test/pom.xml b/fastexcel-test/pom.xml index 4e319990..a5d1715d 100644 --- a/fastexcel-test/pom.xml +++ b/fastexcel-test/pom.xml @@ -16,6 +16,7 @@ true + /cn/idev/excel/test/**/*.java @@ -71,7 +72,7 @@ maven-surefire-plugin - /cn/idev/excel/test/core/**/*.java + ${maven.surefire.plugin.include.scope} false diff --git a/pom.xml b/pom.xml index f2a498b1..6e2ecb89 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ 1.8 true true - true + false 1.11.0 5.4.1 5.4.1