Sha256: a8c9da4df3024a7e1224b3035a41395c3d587a3bc9187d717981b8b02bec0a4d

Contents?: true

Size: 714 Bytes

Versions: 3

Compression:

Stored size: 714 Bytes

Contents

name: CI

on: [push]

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 install libsqlite3-dev
        gem install bundler -v '~> 1'
        echo $RAILS_VERSION | grep -q '4' && export SQLITE3_VERSION='~> 1.3.6'
        bundle
        rake

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jsonapi.rb-1.5.6 .github/workflows/ci.yml
jsonapi.rb-1.5.5 .github/workflows/ci.yml
jsonapi.rb-1.5.4 .github/workflows/ci.yml