Skip to content

samples(storage): Adding sample for get_bucket_class_and_location #517

samples(storage): Adding sample for get_bucket_class_and_location

samples(storage): Adding sample for get_bucket_class_and_location #517

on:
push:
branches:
- main
paths:
- 'google-cloud-storage/**'
pull_request:
paths:
- 'google-cloud-storage/**'
name: Run Storage retry conformance tests against service emulator
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: google-cloud-storage
services:
emulator:
image: gcr.io/cloud-devrel-public-resources/storage-testbench:latest
ports:
- 9000:9000
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- run: ruby --version
- run: bundle install
- run: bundle exec rake conformance
env:
STORAGE_EMULATOR_HOST: localhost:9000