File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 88 matrix :
99 ruby : [ '3.1', '3.2', '3.3', 'head' ]
1010 rails : [ '7.1', 'edge' ]
11+ rubyopt : [""]
1112 include :
1213 - ruby : ' 2.7'
1314 rails : ' 6.1'
1415 - ruby : ' 3.0'
1516 rails : ' 6.1'
1617 - ruby : ' 3.1'
1718 rails : ' 7.0'
19+ - ruby : ' 3.3'
20+ rails : ' edge'
21+ rubyopt : " --enable-frozen-string-literal"
1822
1923 env :
2024 RAILS_VERSION : ${{ matrix.rails }}
2125
2226 steps :
23- - uses : actions/checkout@v2
27+ - uses : actions/checkout@v4
2428
2529 - name : Set up Ruby
2630 uses : ruby/setup-ruby@v1
@@ -29,10 +33,10 @@ jobs:
2933 bundler-cache : true
3034
3135 - name : Run unit tests
32- run : bundle exec rake test:unit
36+ run : bundle exec rake test:unit RUBYOPT="${{ matrix.rubyopt }}"
3337 timeout-minutes : 3
3438
3539 - name : Run acceptance tests
36- run : bundle exec rake test:acceptance
40+ run : bundle exec rake test:acceptance RUBYOPT="${{ matrix.rubyopt }}"
3741 timeout-minutes : 10
3842 if : ${{ matrix.rails != 'edge' && matrix.ruby != 'head' }} # Acceptance tests use `gem install rails && rails new`
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def read_streams
168168 end
169169
170170 def read_stream ( stream )
171- output = ""
171+ output = + ""
172172 while IO . select ( [ stream ] , [ ] , [ ] , 0.5 ) && !stream . eof?
173173 output << stream . readpartial ( 10240 )
174174 end
You can’t perform that action at this time.
0 commit comments