Sha256: 6dbcd66cfc9e856df51681b414c53085cf06d9a46dcdad80d171a3643f89b3e8

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

name: CI

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '2.6'
          - '2.7'
          - '3.0'
          - '3.1'
        gemfile:
          - rails_6.0
          - rails_6.1
          - rails_7.0
          - active_record_6.0
          - active_record_6.1
          - active_record_7.0
        prepared_statements: [true, false]
        exclude:
          # activesupport-7.0.0 requires ruby version >= 2.7.0
          - ruby: '2.6'
            gemfile: 'rails_7.0'
          - ruby: '2.6'
            gemfile: 'active_record_7.0'
    name: Ruby ${{ matrix.ruby }} / ${{ matrix.gemfile }} ${{ (matrix.prepared_statements && 'w/ prepared statements') || '' }}
    env:
       BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
       PREPARED_STATEMENTS: ${{ matrix.prepared_statements && '1' }}
    steps:
      - uses: actions/checkout@v2
      - run: |
          docker-compose up -d
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: |
          bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-multi-tenant-2.2.0 .github/workflows/CI.yml