Skip to content

Merge branch 'main' of https://github.com/asthamohta/python-spanner-d… #2

Merge branch 'main' of https://github.com/asthamohta/python-spanner-d…

Merge branch 'main' of https://github.com/asthamohta/python-spanner-d… #2

on:
push:
branches:
- main
pull_request:
name: Run Django Spanner integration tests against emulator 3.7
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@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install nox
run: python -m pip install nox
- name: Run nox
run: nox -s unit-3.7
env:
SPANNER_EMULATOR_HOST: localhost:9010
GOOGLE_CLOUD_PROJECT: emulator-test-project
GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE: true