File tree Expand file tree Collapse file tree 8 files changed +165
-356
lines changed
Expand file tree Collapse file tree 8 files changed +165
-356
lines changed Original file line number Diff line number Diff line change 44 - main
55 pull_request :
66name : java-spanner integration-tests-against-emulator
7- env :
8- BUILD_SUBDIR : java-spanner
97jobs :
108 filter :
119 runs-on : ubuntu-latest
@@ -33,26 +31,15 @@ jobs:
3331
3432 steps :
3533 - uses : actions/checkout@v6
36- - uses : stCarolas/setup-maven@v5
37- with :
38- maven-version : 3.8.1
39- # Build with JDK 11 and run tests with JDK 8
40- - uses : actions/setup-java@v5
41- with :
42- java-version : 11
43- distribution : temurin
44- - name : Compiling main library
45- run : .kokoro/build.sh
4634 - uses : actions/setup-java@v5
4735 with :
48- java-version : 8
4936 distribution : temurin
37+ java-version : 11
5038 - name : Running tests
51- run : |
52- mvn -V -B -Dspanner.testenv.instance="" -Penable-integration-tests \
53- -DtrimStackTrace=false -Dclirr.skip=true -Denforcer.skip=true \
54- -Dmaven.main.skip=true -fae verify
39+ run : .kokoro/build.sh
5540 env :
5641 JOB_TYPE : test
42+ BUILD_SUBDIR : java-spanner
5743 SPANNER_EMULATOR_HOST : localhost:9010
5844 GOOGLE_CLOUD_PROJECT : emulator-test-project
45+ SUREFIRE_JVM_OPT : ' -Penable-integration-tests -DskipUnitTests=true -Dspanner.testenv.instance="" -Dmaven.main.skip=true'
Original file line number Diff line number Diff line change @@ -240,9 +240,11 @@ case ${JOB_TYPE} in
240240 if [ -f " ${dir} /pom.xml" ] && [ " ${dir} " != " ." ]; then
241241 # Filter out directories not participating in the default formatting reactor:
242242 # - samples are handwritten by developers
243+ # - benchmarks are handwritten by developers
243244 # - proto-*/grpc-* are generated code and should use the compiler format
244245 # - *-bom/parents are POM-only and contain no Java source
245246 if [[ " ${dir} " != * " samples" * ]] && \
247+ [[ " $( basename " ${dir} " ) " != * " benchmark" * ]] && \
246248 [[ " $( basename " ${dir} " ) " != " proto-google-" * ]] && \
247249 [[ " $( basename " ${dir} " ) " != " grpc-google-" * ]] && \
248250 [[ " $( basename " ${dir} " ) " != * " -bom" ]] && \
Original file line number Diff line number Diff line change 33# Configure the docker image for kokoro-trampoline.
44env_vars: {
55 key: " TRAMPOLINE_IMAGE"
6- value: " gcr.io/cloud-devrel-kokoro-resources/java8 "
6+ value: " gcr.io/cloud-devrel-kokoro-resources/java11 "
77}
88
99env_vars: {
Original file line number Diff line number Diff line change 12421242 <type >pom</type >
12431243 <scope >import</scope >
12441244 </dependency >
1245+ <dependency >
1246+ <groupId >com.google.cloud</groupId >
1247+ <artifactId >google-cloud-spanner-bom</artifactId >
1248+ <version >6.111.2-SNAPSHOT</version ><!-- {x-version-update:google-cloud-spanner:current} -->
1249+ <type >pom</type >
1250+ <scope >import</scope >
1251+ </dependency >
12451252 <dependency >
12461253 <groupId >com.google.cloud</groupId >
12471254 <artifactId >google-cloud-spanneradapter-bom</artifactId >
Original file line number Diff line number Diff line change @@ -2483,7 +2483,7 @@ libraries:
24832483 requires_billing : true
24842484 codeowner_team : ' @googleapis/spanner-team'
24852485 library_type : GAPIC_COMBO
2486- excluded_poms : google-cloud-spanner-bom
2486+ excluded_poms : google-cloud-spanner-bom,google-cloud-spanner
24872487 recommended_package : com.google.cloud.spanner
24882488 GAPICs :
24892489 - proto_path : google/spanner/admin/database/v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 "transport" : " grpc" ,
99 "language" : " java" ,
1010 "repo" : " googleapis/google-cloud-java" ,
11- "repo_short" : " google-cloud- java" ,
11+ "repo_short" : " java-spanner " ,
1212 "distribution_name" : " com.google.cloud:google-cloud-spanner" ,
1313 "api_id" : " spanner.googleapis.com" ,
1414 "library_type" : " GAPIC_COMBO" ,
1818 "issue_tracker" : " https://issuetracker.google.com/issues?q=componentid:190851%2B%20status:open" ,
1919 "recommended_package" : " com.google.cloud.spanner" ,
2020 "min_java_version" : 8
21- }
21+ }
You can’t perform that action at this time.
0 commit comments