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 19
19
- ' 3.2'
20
20
- ' 3.3'
21
21
- jruby-9.4
22
+ - truffleruby
22
23
23
24
steps :
24
25
- uses : actions/checkout@v4
28
29
ruby-version : ${{ matrix.ruby-version }}
29
30
bundler-cache : true
30
31
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 17
17
ruby-version :
18
18
- ruby-head
19
19
- jruby-head
20
+ - truffleruby-head
20
21
21
22
steps :
22
23
- uses : actions/checkout@v4
25
26
with :
26
27
ruby-version : ${{ matrix.ruby-version }}
27
28
bundler-cache : true
28
- continue-on-error : ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
29
29
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 34
34
end
35
35
36
36
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" )
37
39
expect ( @stderr ) . to match ( /stopped.+SimpleCov.+previous.+error/i )
38
40
end
39
41
end
You can’t perform that action at this time.
0 commit comments