Skip to content

Set file pattern only if it is passed from the from command line #140

Set file pattern only if it is passed from the from command line

Set file pattern only if it is passed from the from command line #140

Workflow file for this run

name: Specs
on:
push:
branches: [ master, one-stable, two-stable ]
pull_request:
branches: [ master, one-stable, two-stable ]
jobs:
spec:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '3.1', '3.2', '3.3', 'head' ]
rails: [ 'gemfiles/Gemfile.rails-6.1.x', 'gemfiles/Gemfile.rails-7.0.x', 'gemfiles/Gemfile.rails-7.1.x']
exclude: []
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
env:
BUNDLE_GEMFILE: ${{ matrix.rails }}
name: Ruby ${{ matrix.ruby }} ${{ matrix.rails }} specs
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake spec