Sha256: 3c5854b7af1dee5e24fc32bbf2803f7320cff4730e696ccbe1bd3c2e99efde81

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

name: tests

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [2.6, 2.7, 3.0, 3.1, head]
        rails: [4.2.11.3, 5.0.7.2, 5.1.7, 5.2.4.4, 6.0.3.4, 6.1.0]
        exclude:
          # Ruby 3.0 and Rails 5 do not get along together.
          - ruby: 3.0
            rails: 5.0.7.2
          - ruby: 3.0
            rails: 5.1.7
          - ruby: 3.0
            rails: 5.2.4.4
          - ruby: 3.1
            rails: 5.0.7.2
          - ruby: 3.1
            rails: 5.1.7
          - ruby: 3.1
            rails: 5.2.4.4
          - ruby: head
            rails: 5.0.7.2
          - ruby: head
            rails: 5.1.7
          - ruby: head
            rails: 5.2.4.4
    continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
    env:
      RAILS_VERSION: ${{ matrix.rails }}
    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby ${{ matrix.ruby }}
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: "Install dependencies (rails: ${{matrix.rails}})"
        run: bundle install
      - name: Run tests
        run: bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pwned-2.4.0 .github/workflows/tests.yml