feat(spanner): [Google.Cloud.Spanner.Admin.Database.V1] add proto descriptors for proto and enum types in create/update/get database ddl requests #797
Workflow file for this run
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
name: Spanner tests against emulator (Spanner changes only) | |
on: | |
pull_request: | |
paths: | |
- '**[Ss]panner**' | |
push: | |
branches: | |
- main | |
paths: | |
- '**[Ss]panner**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_NOLOGO: true | |
services: | |
emulator: | |
image: gcr.io/cloud-spanner-emulator/emulator:latest | |
ports: | |
- 9010:9010 | |
- 9020:9020 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
# Install .NET 6 for building | |
- name: Setup .NET 6.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.x | |
- name: Spanner Emulator | |
env: | |
SPANNER_EMULATOR_HOST: localhost:9010 | |
TEST_PROJECT: emulator-test-project | |
run: | | |
dotnet test -c Release ./apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.IntegrationTests --filter SupportedOnEmulator\!=No | |
dotnet test -c Release ./apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.Snippets |