Sha256: add9316ae63d7046c0eb815818b000697594a6f11ec5c9219618f66285f516b3

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

name: CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-16.04
    strategy:
      fail-fast: false
      matrix:
        ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 3.0]
        gemfile: ['rails50', 'rails51', 'rails52', 'rails60', 'rails61']
        exclude:
          - ruby: 2.3
            gemfile: rails60
          - ruby: 2.3
            gemfile: rails61
          - ruby: 2.4
            gemfile: rails60
          - ruby: 2.4
            gemfile: rails61
          - ruby: 3.0
            gemfile: rails50
          - ruby: 3.0
            gemfile: rails51
          - ruby: 3.0
            gemfile: rails52

    name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}

    env:
      BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
    - name: Prepare test
      run: |
        cd spec/dummy
        BUNDLE_GEMFILE=../../${{ env.BUNDLE_GEMFILE }} RAILS_ENV=test bundle exec rake db:create db:migrate db:seed
        cd ../..
    - name: Run test
      run: |
        bundle exec rspec

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enum_ish-1.4.0 .github/workflows/ci.yml
enum_ish-1.3.3 .github/workflows/ci.yml