chore(bigtable): Provide a toys tool for running conformance tests locally #52
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
# This workflow runs the Bigtable Conformance Test suite against the Bigtable | |
# client library. | |
# See https://github.com/googleapis/cloud-bigtable-clients-test | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'google-cloud-bigtable/**' | |
pull_request: | |
paths: | |
- 'google-cloud-bigtable/**' | |
name: conformance | |
jobs: | |
bigtable_conformance: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby_version: [ | |
'3.0', | |
'3.1', | |
'3.2', | |
'3.3', | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '>=1.23.0' | |
- name: Install tools | |
run: "gem install --no-document toys" | |
- name: Install dependencies | |
run: "cd google-cloud-bigtable/conformance/test_proxy && bundle lock --add-platform x86_64-linux && bundle install --deployment" | |
- name: Run tests | |
env: | |
BUNDLE_DEPLOYMENT: true | |
run: "cd google-cloud-bigtable && toys conformance test -v" |