Sha256: 79f7380e9718846e9d8a575714f36b02b070f75d982093bb9c7ff171a0f0504a

Contents?: true

Size: 962 Bytes

Versions: 4

Compression:

Stored size: 962 Bytes

Contents

on:
  push:
    branches:
      - master
  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

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-1.0.0 .github/workflows/ci.yaml
activerecord-spanner-adapter-0.7.0 .github/workflows/ci.yaml
activerecord-spanner-adapter-0.6.0 .github/workflows/ci.yaml
activerecord-spanner-adapter-0.5.0 .github/workflows/ci.yaml