Skip to content

Merge pull request #132 from AndyObtiva/support-rails-7-2 #49

Merge pull request #132 from AndyObtiva/support-rails-7-2

Merge pull request #132 from AndyObtiva/support-rails-7-2 #49

Workflow file for this run

on:
pull_request:
branches:
- master
push:
branches:
- ci-check
- "*/ci-check"
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
ruby: ['3.0', '3.1', '3.2']
rails: ['rails_6_0', 'rails_6_1', 'rails_7_0']
opal: ['opal_1_0', 'opal_1_3', 'opal_1_7']
runs-on: ubuntu-latest
steps:
- name: Install libraries
run: |
sudo apt-get update
sudo apt-get install -y sqlite3 libsqlite3-dev
- uses: actions/checkout@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install Dependencies
run: |
export BUNDLE_GEMFILE="gemfiles/${{ matrix.rails }}_${{ matrix.opal }}.gemfile"
gem install bundler
bundle install --jobs 4 --retry 3
- name: Test with Rake
run: |
export BUNDLE_GEMFILE="gemfiles/${{ matrix.rails }}_${{ matrix.opal }}.gemfile"
bundle exec rake