Sha256: 3acd132752d25eb42bf186107912158ef12615f6797d98897ca299440885e955

Contents?: true

Size: 960 Bytes

Versions: 1

Compression:

Stored size: 960 Bytes

Contents

on:
  push:
    branches:
      - main
  pull_request:
name: ci
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 4
      matrix:
        ruby: [2.6, 2.7, 3.0]
        ar: [6.0.4, 6.1.4]
        # Exclude Ruby 3.0 and ActiveRecord 6.0.x as that combination is not supported.
        exclude:
          - ruby: 3.0
            ar: 6.0.4
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
    # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby
    # (see https://github.com/ruby/setup-ruby#versioning):
      uses: ruby/setup-ruby@v1
      with:
        bundler-cache: false
        ruby-version: ${{ matrix.ruby }}
    - name: Set ActiveRecord version
      run: sed -i "s/\"activerecord\", \"~> 6.1.4\"/\"activerecord\", \"${{ matrix.ar }}\"/" activerecord-spanner-adapter.gemspec
    - name: Install dependencies
      run: bundle install
    - name: Run tests
      run: bundle exec rake test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.0.1 .github/workflows/ci.yaml