File tree 1 file changed +8
-22
lines changed
1 file changed +8
-22
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,21 @@ jobs:
35
35
- " 3.4"
36
36
- ruby-head
37
37
- jruby-9.4
38
- name : " Ruby ${{ matrix.ruby }} - Spec"
38
+ parser_engine :
39
+ - parser_whitequark
40
+ include :
41
+ - ruby : " 2.7" # Minimum version required for Prism to run.
42
+ parser_engine : parser_prism
43
+ name : " Ruby ${{ matrix.ruby }} - Spec (${{ matrix.parser_engine }})"
39
44
steps :
40
45
- uses : actions/checkout@v4
41
46
- uses : ruby/setup-ruby@v1
42
47
with :
43
48
ruby-version : " ${{ matrix.ruby }}"
44
49
bundler-cache : true
45
50
- run : NO_COVERAGE=true bundle exec rake spec
51
+ env :
52
+ PARSER_ENGINE : ${{ matrix.parser_engine }}
46
53
47
54
coverage :
48
55
runs-on : ubuntu-latest
@@ -119,24 +126,3 @@ jobs:
119
126
ruby-version : " 3.4"
120
127
bundler-cache : true
121
128
- run : NO_COVERAGE=true bundle exec rake spec
122
-
123
- prism :
124
- runs-on : ubuntu-latest
125
- name : Prism
126
- steps :
127
- - uses : actions/checkout@v4
128
- - name : Use prism parser
129
- run : |
130
- cat << EOF > Gemfile.local
131
- gem 'prism'
132
- EOF
133
- - name : set up Ruby
134
- uses : ruby/setup-ruby@v1
135
- with :
136
- # Specify the minimum Ruby version 2.7 required for Prism to run.
137
- ruby-version : " 2.7"
138
- bundler-cache : true
139
- - env :
140
- NO_COVERAGE : true
141
- PARSER_ENGINE : parser_prism
142
- run : bundle exec rake spec
You can’t perform that action at this time.
0 commit comments