feat: add support for Proto Columns #7257
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: integration-tests-against-emulator | |
jobs: | |
units: | |
runs-on: ubuntu-latest | |
services: | |
emulator: | |
image: gcr.io/cloud-spanner-emulator/emulator:latest | |
ports: | |
- 9010:9010 | |
- 9020:9020 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: stCarolas/setup-maven@v4 | |
with: | |
maven-version: 3.8.1 | |
# Build with JDK 11 and run tests with JDK 8 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: temurin | |
- name: Compiling main library | |
run: .kokoro/build.sh | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- name: Running tests | |
run: | | |
mvn -V -B -Dspanner.testenv.instance="" -Penable-integration-tests \ | |
-DtrimStackTrace=false -Dclirr.skip=true -Denforcer.skip=true \ | |
-Dmaven.main.skip=true -fae verify | |
env: | |
JOB_TYPE: test | |
SPANNER_EMULATOR_HOST: localhost:9010 | |
GOOGLE_CLOUD_PROJECT: emulator-test-project |