File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,34 +13,31 @@ jobs:
1313 uses : ruby/actions/.github/workflows/ruby_versions.yml@master
1414 with :
1515 engine : cruby
16- min_version : 3.2
16+ min_version : 3.4
1717
1818 build :
1919 needs : ruby-versions
2020 runs-on : ubuntu-latest
2121 strategy :
2222 matrix :
2323 ruby : ${{ fromJson(needs.ruby-versions.outputs.versions) }}
24+ parser : [parse.y, prism]
25+ include :
26+ - { ruby: 3.2, parser: 'parse.y' }
27+ - { ruby: 3.3, parser: 'parse.y' }
2428 steps :
2529 - uses : actions/checkout@v7
2630 - uses : ruby/setup-ruby@v1
2731 with :
2832 ruby-version : ${{ matrix.ruby }}
29- - name : Bundle install
30- run : |
31- bundle install
32- - name : Run the test suite
33- run : |
34- RUBYOPT=--disable-error_highlight bundle exec rake TESTOPT=-v
35-
36- prism :
37- runs-on : ubuntu-latest
38- steps :
39- - uses : actions/checkout@v7
40- - uses : ruby/setup-ruby@v1
41- with :
42- ruby-version : head
4333 bundler-cache : true
44- - name : Run the test suite
34+
35+ # Ruby 3.2 does not have a --parser option
36+ - name : Run the test suite (3.2+)
37+ run : |
38+ RUBYOPT="--disable-error_highlight --parser=${{ matrix.parser }}" bundle exec rake TESTOPT=-v
39+ if : ${{ matrix.ruby != '3.2' }}
40+ - name : Run the test suite (3.2)
4541 run : |
46- RUBYOPT="--disable-error_highlight --parser=prism" bundle exec rake TESTOPT=-v
42+ RUBYOPT="--disable-error_highlight" bundle exec rake TESTOPT=-v
43+ if : ${{ matrix.ruby == '3.2' }}
You can’t perform that action at this time.
0 commit comments