File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1212
1313jobs :
1414 test-all :
15+ strategy :
16+ matrix :
17+ # Some tests in this repository are only run against parse.y
18+ # We test them here in order to not fail ruby/ruby CI.
19+ parser :
20+ - prism
21+ - parse.y
22+
1523 runs-on : ubuntu-24.04
1624 steps :
1725 - name : Set up latest ruby head
3947 run : |
4048 ruby tool/downloader.rb -d tool -e gnu config.guess config.sub
4149 autoconf
42- ./configure -C --disable-install-doc
50+ ./configure -C --disable-install-doc --with-parser=${{ matrix.parser }}
4351 make -j$(nproc)
4452 working-directory : ruby/ruby
4553 - name : make test-all
54+ env :
55+ RUN_OPTS : --parser=${{ matrix.parser }}
4656 run : make -j$(nproc) -s test-all
4757 working-directory : ruby/ruby
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ class FixturesTest < TestCase
2828 except << "3.4/circular_parameters.txt"
2929 end
3030
31+ # Valid only on Ruby 3.3
32+ except << "3.3-3.3/block_args_in_array_assignment.txt"
33+ except << "3.3-3.3/it_with_ordinary_parameter.txt"
34+ except << "3.3-3.3/keyword_args_in_array_assignment.txt"
35+ except << "3.3-3.3/return_in_sclass.txt"
36+
3137 # Leaving these out until they are supported by parse.y.
3238 except << "3.5/leading_logical.txt"
3339 except << "3.5/endless_methods_command_call.txt"
Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ class LocalsTest < TestCase
3131 # CRuby is eliminating dead code.
3232 "whitequark/ruby_bug_10653.txt" ,
3333
34+ # Valid only on Ruby 3.3
35+ "3.3-3.3/block_args_in_array_assignment.txt" ,
36+ "3.3-3.3/it_with_ordinary_parameter.txt" ,
37+ "3.3-3.3/keyword_args_in_array_assignment.txt" ,
38+ "3.3-3.3/return_in_sclass.txt" ,
39+
3440 # Leaving these out until they are supported by parse.y.
3541 "3.5/leading_logical.txt" ,
3642 "3.5/endless_methods_command_call.txt" ,
You can’t perform that action at this time.
0 commit comments