Sha256: 1ce41afa04a42f01e0cf8ed65b95bf2b29296b0d783e5886567d416a7b0398cd

Contents?: true

Size: 1020 Bytes

Versions: 1

Compression:

Stored size: 1020 Bytes

Contents

name: CI Tests

on:
  push:
    branches: "main"
  pull_request:
    branches: "*"

jobs:
  test:
    name: "Ruby ${{ matrix.ruby }}, Rails ${{ matrix.gemfile }}"

    runs-on: ubuntu-latest

    strategy:
      fail-fast: false
      matrix:
        gemfile:
          - "5.0"
          - "5.1"
          - "5.2"
          - "6.0"
          - "6.1"
        ruby:
          - "2.4.9"
          - "2.5.7"
          - "2.6.5"
          - "2.7.2"
        exclude:
          - gemfile: "6.0"
            ruby: "2.4.9"
          - gemfile: "6.1"
            ruby: "2.4.9"

    env:
      BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.gemfile }}.gemfile
      RAILS_ENV: test

    steps:
      - uses: actions/checkout@v2

      - name: "Install Ruby ${{ matrix.ruby  }}"
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: "Reset app database"
        run: bundle exec rake dummy:db:reset

      - name: "Run tests"
        run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clearance-2.5.0 .github/workflows/tests.yml