Sha256: c7b8ef0f4639f2e4fa438f23a6e52d35cdaa61ee778286ac0608bd236ae843d1

Contents?: true

Size: 797 Bytes

Versions: 2

Compression:

Stored size: 797 Bytes

Contents

name: CI

on: [push, pull_request]

jobs:
  ruby_rails_test_matrix:
    runs-on: ubuntu-18.04

    strategy:
      matrix:
        ruby: [2.4, 2.6]
        rails: [4, 5, 6]
        exclude:
          - ruby: 2.4
            rails: 6

    steps:
    - uses: actions/checkout@master

    - name: Sets up the environment
      uses: actions/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}

    - name: Runs code QA and tests
      env:
        RAILS_VERSION: ~> ${{ matrix.rails }}
      run: |
        rm -rf Gemfile.lock
        sudo apt-get update
        sudo apt-get install libsqlite3-dev
        gem uninstall bundler -a --force
        gem install bundler -v '~> 1'
        echo $RAILS_VERSION | grep -q '4' && export SQLITE3_VERSION='~> 1.3.6'
        bundle
        rake

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsonapi.rb-1.6.0 .github/workflows/ci.yml
jsonapi.rb-1.5.7 .github/workflows/ci.yml