Sha256: cfa46fce13d36b8630ef410121ba6985316ef66592ebe0ae84d4b6d304398be7

Contents?: true

Size: 928 Bytes

Versions: 1

Compression:

Stored size: 928 Bytes

Contents

name: tests

on:
  push:

jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
      - name: Run rubocop
        run: bundle exec rubocop --parallel --extra-details --display-style-guide

  # Exclusions based on table at https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
  tests:
    strategy:
      matrix:
        ruby-version: [3.0, 3.1, 3.2, 3.3]
        rails-version: [6.1, 7.0, 7.1]
    runs-on: ubuntu-latest
    env:
      RAILS_VERSION: ${{ matrix.rails-version }}
    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: "${{ matrix.ruby-version }}"
      - name: Run tests
        run: bundle exec rspec --format RSpec::Github::Formatter

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
anony-1.4.0 .github/workflows/test.yml