Skip to content

fix(datastore): infer TYPE_ID only for valid signed 64-bit integers #598

fix(datastore): infer TYPE_ID only for valid signed 64-bit integers

fix(datastore): infer TYPE_ID only for valid signed 64-bit integers #598

on:
release:
types: [published]
pull_request:
paths:
- 'Datastore/**'
- '.github/workflows/emulator-system-tests-datastore.yaml'
- '.github/emulator/**'
name: Emulator System Tests
permissions:
contents: read
jobs:
test:
name: "Emulator System Tests: Datastore"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- run: ./.github/emulator/start-emulator.sh datastore 581.0.0-emulators
- name: Setup PHP
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: '8.2'
tools: pecl
extensions: grpc
- name: Install dependencies
run: |
composer config minimum-stability dev -d Datastore/
composer config repositories.local path "../Core" -d Datastore
composer require "google/cloud-core:*" -d Datastore/
- name: Run system tests
run: |
Datastore/vendor/bin/phpunit -c Datastore/phpunit-system.xml.dist
env:
DATASTORE_EMULATOR_HOST: localhost:8085
GOOGLE_CLOUD_PHP_TESTS_KEY_PATH: '.github/emulator/example-key.json'
GOOGLE_CLOUD_PHP_WHITELIST_TESTS_KEY_PATH: '.github/emulator/example-key.json'