Merge pull request #131 from dscataglini/mirror-javascript_tag-api #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |