Skip to content

adding a test

adding a test #250

Workflow file for this run

name: ruby
on: [push]
jobs:
test:
name: Ruby ${{ matrix.ruby }} (${{ matrix.gemfile }})
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
gemfile: [ "rails_6_1", "rails_7_0"]
experimental: [false]
#include:
# - ruby: '2.7'
# gemfile: rails_head
# experimental: true
# - ruby: '3.0'
# gemfile: rails_head
# experimental: true
# - ruby: '3.1'
# gemfile: rails_head
# experimental: true
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run tests
run: bundle exec rake