Skip to content

Workflow file for this run

name: Go Spanner Emulator Sample Test
jobs:
test:
name: Sample Go Test
container:
image: golang:1.20
services:
spanenr-emulator:
image: gcr.io/cloud-spanner-emulator/emulator:latest
ports:
- 9010:9010
- 9020:9020
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup go
run: go mod download
- name: run test
env:
SPANNER_EMULATOR_HOST: spanner-emulator:9010
run: go test ./...