Skip to content

Commit

Permalink
skip incompatible class
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo committed May 17, 2023
1 parent 3232a19 commit c1b087c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-java7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ jobs:
# Leveraging surefire's jvm option, running the test on Java 7.
# Surefire plugin 2.22.2 is the last version for Java 7. Newer version would fail with
# "UnsupportedClassVersionError: org/apache/maven/surefire/booter/ForkedBooter" error.
# BatchRequestTest is not compatible for Java 7 because it touches Protobuf
# classes (not compatible with Java 7).
mvn --batch-mode --show-version -ntp test \
-Dclirr.skip=true -Denforcer.skip=true -Dmaven.javadoc.skip=true \
-Dgcloud.download.skip=true -T 1C \
-Dproject.surefire.version=2.22.2 \
-D="!com.google.api.client.googleapis.batch.BatchRequestTest" \
-Djvm=${JAVA7_HOME}/bin/java

0 comments on commit c1b087c

Please sign in to comment.