Skip to content

feat(spanner): add implementation and integration tests for max commi… #3075

feat(spanner): add implementation and integration tests for max commi…

feat(spanner): add implementation and integration tests for max commi… #3075

on:
push:
branches:
- main
pull_request:
name: Run Spanner integration tests against emulator
jobs:
system-tests:
runs-on: ubuntu-latest
services:
emulator:
image: gcr.io/cloud-spanner-emulator/emulator:latest
ports:
- 9010:9010
- 9020:9020
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install nox
run: python -m pip install nox
- name: Run system tests
run: nox -s system
env:
SPANNER_EMULATOR_HOST: localhost:9010
GOOGLE_CLOUD_PROJECT: emulator-test-project
GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE: true