Skip to content

Commit

Permalink
Add truffleruby to test suite (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
bolshakov committed Oct 3, 2022
1 parent 33efe37 commit e1bffa4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7.x' , '3.0.x', '3.1.x']
ruby: ['2.7.6' , '3.0.4', '3.1.2', "truffleruby+graalvm-head"]
name: ${{ matrix.ruby }}

steps:
- uses: actions/checkout@v1
- name: Set up ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
Expand All @@ -22,6 +22,10 @@ jobs:
bundler --version
bundle install --jobs 4 --retry 3
- name: Test
if: ${{ contains(matrix.ruby, 'truffleruby') }}
run: bundle exec rspec --exclude-pattern "**/*_pattern_matching_spec.rb"
- name: Test
if: ${{ !contains(matrix.ruby, 'truffleruby') }}
run: bundle exec rspec
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
Expand Down
4 changes: 0 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
require "fear/rspec"

RSpec.configure do |config|
unless RUBY_VERSION >= "2.7"
config.exclude_pattern = "**/*pattern_matching_spec.rb"
end

# rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest
# assertions if you prefer.
Expand Down

0 comments on commit e1bffa4

Please sign in to comment.