File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 1919 - ' 3.2'
2020 - ' 3.3'
2121 - jruby-9.4
22+ - truffleruby
2223
2324 steps :
2425 - uses : actions/checkout@v4
2829 ruby-version : ${{ matrix.ruby-version }}
2930 bundler-cache : true
3031
31- - run : |
32- bundle exec rake
32+ - name : Run tests
33+ run : bundle exec rake
34+ if : matrix.ruby-version != 'truffleruby'
35+
36+ # Run only `rake spec` on truffleruby, because just `rake` runs `rubocop spec cucumber`.
37+ # There is no value to rerun rubocop here.
38+ # cucumber fails because it uses an old childprocess which depends on fork.
39+ - name : Run specs (truffleruby)
40+ run : bundle exec rake spec
41+ if : matrix.ruby-version == 'truffleruby'
Original file line number Diff line number Diff line change 1717 ruby-version :
1818 - ruby-head
1919 - jruby-head
20+ - truffleruby-head
2021
2122 steps :
2223 - uses : actions/checkout@v4
2526 with :
2627 ruby-version : ${{ matrix.ruby-version }}
2728 bundler-cache : true
28- continue-on-error : ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
2929
30- - run : |
31- bundle exec rake
32- continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
30+ - name : Run tests
31+ run : bundle exec rake
32+ if : matrix.ruby-version != 'truffleruby-head'
33+
34+ # Run only `rake spec` on truffleruby, because just `rake` runs `rubocop spec cucumber`.
35+ # There is no value to rerun rubocop here.
36+ # cucumber fails because it uses an old childprocess which depends on fork.
37+ - name : Run specs (truffleruby)
38+ run : bundle exec rake spec
39+ if : matrix.ruby-version == 'truffleruby-head'
Original file line number Diff line number Diff line change 3434 end
3535
3636 it "prints a message to STDERR" do
37+ # https://github.com/oracle/truffleruby/issues/3535
38+ skip "fails on truffleruby" if RUBY_ENGINE == "truffleruby" && command . include? ( "testunit_bad.rb" )
3739 expect ( @stderr ) . to match ( /stopped.+SimpleCov.+previous.+error/i )
3840 end
3941 end
You can’t perform that action at this time.
0 commit comments