Sha256: b795ca3f2c07d84368ffb10f6beffa8f8a1a70404fd8b6a743cb0b111c2421b7

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: Ruby CI

on: [push, pull_request]

jobs:
  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: [2.4.10, 2.5.9, 2.6.10, 2.7.6]
        activemodel: [5.1.x, 5.2.x, 6.0.x, 6.1.x, 7.0.x]
        exclude:
          - ruby-version: 2.4.10
            activemodel: 6.0.x
          - ruby-version: 2.4.10
            activemodel: 6.1.x
          - ruby-version: 2.4.10
            activemodel: 7.0.x
          - ruby-version: 2.5.9
            activemodel: 7.0.x
          - ruby-version: 2.6.10
            activemodel: 7.0.x

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
    - name: Install dependencies
      run: bundle install --gemfile gemfiles/Gemfile.activemodel-${{ matrix.activemodel }}
    - name: Run tests
      run: bundle exec rake spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-in-peace-6.2.0 .github/workflows/rspec.yml