Sha256: d652a7e5c38bb594b6e562a4220de34e06732c496cf5551ec93e51788c3f8319

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

name: CI
on:
  push:
    branches:
    - master
  pull_request:
    branches:
    - master

jobs:
  tests:
    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu
        ruby:
          - 2.5
          - 2.6
          - 2.7
        gemfile:
          - gemfiles/rails_5_1.gemfile
          - gemfiles/rails_5_2.gemfile
          - gemfiles/rails_6.gemfile
          - gemfiles/rails_6_1.gemfile
        continue-on-error:
          - false
        include:
          - ruby: "3.0"
            gemfile: gemfiles/rails_6_1.gemfile
            os: ubuntu
            continue-on-error: false
          - ruby: 3.1
            gemfile: gemfiles/rails_7_0.gemfile
            os: ubuntu
            continue-on-error: false

    env:
      BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
    runs-on: ${{ matrix.os }}-latest
    continue-on-error: ${{ matrix.continue-on-error }}
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - name: Test
        run: bundle exec rake spec

# use this

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_votable-0.14.0 .github/workflows/main.yml