ensure request timeout is always longer than ringing_timeout (#93) #346
This file contains hidden or 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
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| name: Test | |
| jobs: | |
| test: | |
| name: Test on ruby ${{ matrix.ruby_version }} with options - ${{ toJson(matrix.options) }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| # Ruby 3.1 is the floor (google-protobuf 4.x requires >= 3.1; 3.0 is EOL). | |
| - { os: ubuntu-latest, ruby_version: "3.1" } | |
| - { os: ubuntu-latest, ruby_version: "3.4" } | |
| - { os: ubuntu-latest, ruby_version: "jruby-9.4" } | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Ruby, JRuby and TruffleRuby | |
| uses: ruby/setup-ruby@v1.315.0 | |
| with: | |
| ruby-version: ${{ matrix.ruby_version }} | |
| - name: Run tests | |
| run: | | |
| gem install bundler:2.3.7 | |
| bundle install --jobs 4 --retry 3 | |
| bundle exec rspec |