Sha256: 2b0e7641df31e6e647cefa338edebedf6316605d1d7f35620885d7c0c4936e7e

Contents?: true

Size: 723 Bytes

Versions: 1

Compression:

Stored size: 723 Bytes

Contents

name: Test & Lint

on:
  push:
    branches: [main]
  pull_request:

jobs:
  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7']

    steps:
      - uses: actions/checkout@v4
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
      - name: Install dependencies
        run: |
          bundle install
          bundle exec appraisal install
          RAILS_ENV=test bundle exec rake dummy:db:reset
      - name: Rubocop
        run: rubocop
      - name: Run tests
        run: |
          RAILS_ENV=test bundle exec rake dummy:db:schema:load
          bundle exec appraisal rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slayer_rails-0.5.4 .github/workflows/test.yml