Skip to content

GH actions first try #2

GH actions first try

GH actions first try #2

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 2
strategy:
fail-fast: false
matrix:
ruby_version: ['2.7', '3.0', '3.1', 'jruby']
gemfile:
- rails-5.0-mongoid-6.x
- rails-5.2-mongoid-7.x
- rails-6.0-mongoid-7.x
include:
# - ruby_version: '2.4'
# gemfile: rails-4.2-mongoid-5.x
- ruby_version: '3.3'
gemfile: rails-edge
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Start MongoDB
uses: supercharge/[email protected]
- run: bundle exec rake