feat: Add channel pooling for gapic clients #681
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: CI gapic-common | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
MT_COMPAT: true | |
jobs: | |
CI: | |
if: ${{ github.repository == 'googleapis/gapic-generator-ruby' }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
ruby: "2.6" | |
- os: ubuntu-latest | |
ruby: "2.7" | |
- os: ubuntu-latest | |
ruby: "3.0" | |
- os: ubuntu-latest | |
ruby: "3.1" | |
- os: macos-latest | |
ruby: "3.0" | |
- os: windows-latest | |
ruby: "3.0" | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{ matrix.ruby }}" | |
- name: Install tools | |
shell: bash | |
run: | | |
cd gapic-common && gem install --no-document toys bundler && bundle install | |
- name: Test ${{ matrix.task }} | |
shell: bash | |
run: | | |
cd gapic-common && bundle exec rake ci |