Skip to content

Add database_role option to scope checks for replicas #26

Add database_role option to scope checks for replicas

Add database_role option to scope checks for replicas #26

Workflow file for this run

name: Ruby specs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Specs
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.5', '2.6', '2.7', '3.0']
gemfile: [ rails_5_2, rails_6_0, rails_6_1, rails_7_0 ]
experimental: [false]
include:
- ruby-version: '3.1'
gemfile: rails_7_0
experimental: false
- ruby-version: 'head'
gemfile: rails_6_1
experimental: true
- ruby-version: 'head'
gemfile: rails_7_0
experimental: true
- ruby-version: '2.7'
gemfile: rails_edge
experimental: true
- ruby-version: '3.0'
gemfile: rails_edge
experimental: true
- ruby-version: '3.1'
gemfile: rails_edge
experimental: true
- ruby-version: 'head'
gemfile: rails_edge
experimental: true
exclude:
- ruby-version: '2.5'
gemfile: rails_7_0
- ruby-version: '2.6'
gemfile: rails_7_0
- ruby-version: '2.7'
gemfile: rails_5_2
- ruby-version: '3.0'
gemfile: rails_5_2
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake