Merge pull request #53 from watame/update_pure_new_option_comment #111
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
name: Ruby | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
name: >- | |
${{ matrix.ruby }} / ${{ matrix.gemfile }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
include: | |
- { ruby: '3.0', c-o-e: false } | |
- { ruby: 3.1, c-o-e: false } | |
- { ruby: 3.2, c-o-e: false } | |
- { ruby: 3.3, c-o-e: false } | |
- { ruby: jruby-9.4.5.0, c-o-e: false } | |
- { ruby: ruby-head, c-o-e: true } | |
- { ruby: jruby-head, c-o-e: true } | |
- { ruby: truffleruby, c-o-e: true } | |
- { ruby: truffleruby-head, c-o-e: true } | |
- { ruby: 3.3, gemfile: ./gemfiles/miniracer, c-o-e: false } | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Update rubygems | |
run: gem update --system | |
- name: Install dependencies | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.gemfile || 'Gemfile' }} | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake | |
continue-on-error: ${{ matrix.c-o-e || false }} |