Sha256: bc52504ed9aa36b7d02f30dd3b55cfa161b48f1032ca157d0235127935b271ae

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

name: Specs

on:
  push:
    branches: [ master ]
    paths-ignore:
      - 'README.md'
      - 'CHANGES.md'
  pull_request:
    branches: [ master ]

jobs:
  test:
    if: "!contains(github.event.head_commit.message, '[skip ci]')"
    runs-on: ubuntu-latest
    env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
      BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
    strategy:
      matrix:
        ruby-version: ['2.6', '2.7', '3.0', '3.1', 'jruby-9.3.2.0']
        gemfile: [ 'standalone', 'activemodel-5', 'activemodel-6', 'activemodel-7' ]
        exclude:
          - ruby-version: '3.0'
            gemfile: 'activemodel-5'
          - ruby-version: '3.1'
            gemfile: 'activemodel-5'
          - ruby-version: '2.6'
            gemfile: 'activemodel-7'
          - ruby-version: 'jruby-9.3.2.0'
            gemfile: 'activemodel-7'

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Run specs
      run: |
        bundle exec rspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
valvat-1.1.5 .github/workflows/ruby.yml