Sha256: c779fba8bc98b88a830a24be572333450e04fad4be13bcdbf01b43b7c2a316fb

Contents?: true

Size: 923 Bytes

Versions: 1

Compression:

Stored size: 923 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.1, 3.2, 3.3]
        rails-version: [7.0, 7.1, 7.2]
    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.5.0 .github/workflows/test.yml