File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 4747 env :
4848 RAILS_VERSION : ' main'
4949
50+ # Rails 8.1 builds >= 3.2
51+ - ruby : 3.4
52+ env :
53+ RAILS_VERSION : ' ~> 8.1.0'
54+ - ruby : 3.3
55+ env :
56+ RAILS_VERSION : ' ~> 8.1.0'
57+ - ruby : 3.2
58+ env :
59+ RAILS_VERSION : ' ~> 8.1.0'
60+
5061 # Rails 8.0 builds >= 3.2
5162 - ruby : 3.4
5263 env :
Original file line number Diff line number Diff line change 1010run ( 'bin/rake --backtrace spec:controllers' ) || abort
1111run ( 'bin/rake --backtrace spec:helpers' ) || abort
1212run ( 'bin/rake --backtrace spec:mailers' ) || abort
13- run ( "bin/rake --backtrace stats" ) || abort
13+
14+ rails_version = ENV [ 'RAILS_VERSION' ] . gsub ( /[^0-9\. ]/ , '' ) . to_f
15+ stats_command =
16+ if rails_version > 0 && rails_version < 8.1
17+ "bin/rake --backtrace stats"
18+ else
19+ "bin/rails --backtrace stats"
20+ end
21+ run ( stats_command ) || abort
You can’t perform that action at this time.
0 commit comments