Sha256: cb87036def9149d2b8447e0969ffb6157b6aeff9188eb090adfd01f43ca99c21

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 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', 'truffleruby-head', '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

2 entries across 2 versions & 1 rubygems

Version Path
valvat-1.1.4 .github/workflows/ruby.yml
valvat-1.1.3 .github/workflows/ruby.yml