Sha256: 9d375609fa5852950c6fe24bbcf4154de9658fdb25e51020bf6f6990b547aa9a

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 Bytes

Contents

name: Ruby

on: push

jobs:
  rspec:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby:
          - '2.5'
          - '2.6'
          - '2.7'
          - '3.0'
          - '3.1'
    name: Ruby ${{ matrix.ruby }} RSpec
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        bundler-cache: true
        ruby-version: ${{ matrix.ruby }}
    - name: 'Set RSpec exclude pattern for Ruby < 2.7'
      run: echo "::set-output name=value::**/*_gte_ruby_2_7_spec.rb"
      if: matrix.ruby == '2.5' || matrix.ruby == '2.6'
      id: rspec_exclude_pattern
    - run: bundle exec rspec --exclude-pattern=${{ steps.rspec_exclude_pattern.outputs.value }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
operatic-0.6.0 .github/workflows/ruby.yml