Sha256: f0730f4fddded3d1d1020e4c35e29235cf0b1c867ba3607990b8c8d289bb19e7

Contents?: true

Size: 1.95 KB

Versions: 5

Compression:

Stored size: 1.95 KB

Contents

name: CI

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - '2.5'
          - '2.6'
          - '2.7'
          - '3.0'
          - '3.1'
        gemfile:
          - rails_5.2.3
          - rails_5.2
          - rails_6.0
          - rails_6.1
          - rails_7.0
          - active_record_5.2.3
          - active_record_5.2
          - 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.5'
            gemfile: 'rails_7.0'
          - ruby: '2.5'
            gemfile: 'active_record_7.0'
          - ruby: '2.6'
            gemfile: 'rails_7.0'
          - ruby: '2.6'
            gemfile: 'active_record_7.0'
          # ruby >3 and activesupport 5.2 are not compatible
          - ruby: '3.0'
            gemfile: 'rails_5.2'
          - ruby: '3.0'
            gemfile: 'active_record_5.2'
          - ruby: '3.1'
            gemfile: 'rails_5.2'
          - ruby: '3.1'
            gemfile: 'active_record_5.2'
          - ruby: '3.0'
            gemfile: 'rails_5.2.3'
          - ruby: '3.0'
            gemfile: 'active_record_5.2.3'
          - ruby: '3.1'
            gemfile: 'rails_5.2.3'
          - ruby: '3.1'
            gemfile: 'active_record_5.2.3'
    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

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-multi-tenant-2.1.4 .github/workflows/CI.yml
activerecord-multi-tenant-2.1.3 .github/workflows/CI.yml
activerecord-multi-tenant-2.1.2 .github/workflows/CI.yml
activerecord-multi-tenant-2.1.1 .github/workflows/CI.yml
activerecord-multi-tenant-2.0.0 .github/workflows/CI.yml