Skip to content

Modernize stage IV

Modernize stage IV #90

Workflow file for this run

name: Ruby specs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: Ruby specs
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
gemfile: [am_7.0, am_7.1]
channel: [stable]
include:
- ruby-version: '3.1'
gemfile: am_edge
channel: experimental
- ruby-version: '3.2'
gemfile: am_edge
channel: experimental
- ruby-version: '3.3'
gemfile: am_edge
channel: experimental
- ruby-version: 'head'
gemfile: am_7.0
channel: experimental
- ruby-version: 'head'
gemfile: am_7.1
channel: experimental
- ruby-version: 'head'
gemfile: am_edge
channel: experimental
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
continue-on-error: ${{ matrix.channel != 'stable' }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run specs
run: bundle exec rake spec