Skip to content

Require ostruct in Capybara::Mechanize::Browser #27

Require ostruct in Capybara::Mechanize::Browser

Require ostruct in Capybara::Mechanize::Browser #27

on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1']
gemfile:
- puma5
- puma5_capybara36
- puma6
exclude:
- ruby-version: '2.6'
gemfile: puma6
- ruby-version: '2.6'
gemfile: puma5
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake