Skip to content

Commit 26d1922

Browse files
committed
[CI] Add Rails next in CI
1 parent 6561a08 commit 26d1922

File tree

4 files changed

+318
-0
lines changed

4 files changed

+318
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- rails_7_1
3535
- rails_7_2
3636
- rails_8_0
37+
- rails_next
3738
image_processor:
3839
- vips
3940
- mini_magick

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,7 @@ To run the gem tests, launch the following commands in the root folder of gem re
802802
* `BUNDLE_GEMFILE=gemfiles/rails_7_1.gemfile bundle exec rake test` to run for Rails 7.1
803803
* `BUNDLE_GEMFILE=gemfiles/rails_7_2.gemfile bundle exec rake test` to run for Rails 7.2
804804
* `BUNDLE_GEMFILE=gemfiles/rails_8_0.gemfile bundle exec rake test` to run for Rails 8.0
805+
* `BUNDLE_GEMFILE=gemfiles/rails_next.gemfile bundle exec rake test` to run for Rails main
805806

806807
Snippet to run in console:
807808

@@ -811,11 +812,13 @@ BUNDLE_GEMFILE=gemfiles/rails_7_0.gemfile bundle
811812
BUNDLE_GEMFILE=gemfiles/rails_7_1.gemfile bundle
812813
BUNDLE_GEMFILE=gemfiles/rails_7_2.gemfile bundle
813814
BUNDLE_GEMFILE=gemfiles/rails_8_0.gemfile bundle
815+
BUNDLE_GEMFILE=gemfiles/rails_next.gemfile bundle
814816
BUNDLE_GEMFILE=gemfiles/rails_6_1_4.gemfile bundle exec rake test
815817
BUNDLE_GEMFILE=gemfiles/rails_7_0.gemfile bundle exec rake test
816818
BUNDLE_GEMFILE=gemfiles/rails_7_1.gemfile bundle exec rake test
817819
BUNDLE_GEMFILE=gemfiles/rails_7_2.gemfile bundle exec rake test
818820
BUNDLE_GEMFILE=gemfiles/rails_8_0.gemfile bundle exec rake test
821+
BUNDLE_GEMFILE=gemfiles/rails_next.gemfile bundle exec rake test
819822
```
820823

821824
Tips:

gemfiles/rails_next.gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'rails', github: 'rails/rails', branch: 'main'
4+
5+
gemspec :path => '../'
6+
7+
gem 'nokogiri', '~> 1.16.7'
8+
gem "debug", "~> 1.10", ">= 1.10.0"

gemfiles/rails_next.gemfile.lock

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
GIT
2+
remote: https://github.com/rails/rails.git
3+
revision: b51311a74a0fdf60a9b036974ba24fe18e81029b
4+
branch: main
5+
specs:
6+
actioncable (8.1.0.alpha)
7+
actionpack (= 8.1.0.alpha)
8+
activesupport (= 8.1.0.alpha)
9+
nio4r (~> 2.0)
10+
websocket-driver (>= 0.6.1)
11+
zeitwerk (~> 2.6)
12+
actionmailbox (8.1.0.alpha)
13+
actionpack (= 8.1.0.alpha)
14+
activejob (= 8.1.0.alpha)
15+
activerecord (= 8.1.0.alpha)
16+
activestorage (= 8.1.0.alpha)
17+
activesupport (= 8.1.0.alpha)
18+
mail (>= 2.8.0)
19+
actionmailer (8.1.0.alpha)
20+
actionpack (= 8.1.0.alpha)
21+
actionview (= 8.1.0.alpha)
22+
activejob (= 8.1.0.alpha)
23+
activesupport (= 8.1.0.alpha)
24+
mail (>= 2.8.0)
25+
rails-dom-testing (~> 2.2)
26+
actionpack (8.1.0.alpha)
27+
actionview (= 8.1.0.alpha)
28+
activesupport (= 8.1.0.alpha)
29+
nokogiri (>= 1.8.5)
30+
rack (>= 2.2.4)
31+
rack-session (>= 1.0.1)
32+
rack-test (>= 0.6.3)
33+
rails-dom-testing (~> 2.2)
34+
rails-html-sanitizer (~> 1.6)
35+
useragent (~> 0.16)
36+
actiontext (8.1.0.alpha)
37+
action_text-trix (~> 2.1.15)
38+
actionpack (= 8.1.0.alpha)
39+
activerecord (= 8.1.0.alpha)
40+
activestorage (= 8.1.0.alpha)
41+
activesupport (= 8.1.0.alpha)
42+
globalid (>= 0.6.0)
43+
nokogiri (>= 1.8.5)
44+
actionview (8.1.0.alpha)
45+
activesupport (= 8.1.0.alpha)
46+
builder (~> 3.1)
47+
erubi (~> 1.11)
48+
rails-dom-testing (~> 2.2)
49+
rails-html-sanitizer (~> 1.6)
50+
activejob (8.1.0.alpha)
51+
activesupport (= 8.1.0.alpha)
52+
globalid (>= 0.3.6)
53+
activemodel (8.1.0.alpha)
54+
activesupport (= 8.1.0.alpha)
55+
activerecord (8.1.0.alpha)
56+
activemodel (= 8.1.0.alpha)
57+
activesupport (= 8.1.0.alpha)
58+
timeout (>= 0.4.0)
59+
activestorage (8.1.0.alpha)
60+
actionpack (= 8.1.0.alpha)
61+
activejob (= 8.1.0.alpha)
62+
activerecord (= 8.1.0.alpha)
63+
activesupport (= 8.1.0.alpha)
64+
marcel (~> 1.0)
65+
activesupport (8.1.0.alpha)
66+
base64
67+
benchmark (>= 0.3)
68+
bigdecimal
69+
concurrent-ruby (~> 1.0, >= 1.3.1)
70+
connection_pool (>= 2.2.5)
71+
drb
72+
i18n (>= 1.6, < 2)
73+
logger (>= 1.4.2)
74+
minitest (>= 5.1)
75+
securerandom (>= 0.3)
76+
tzinfo (~> 2.0, >= 2.0.5)
77+
uri (>= 0.13.1)
78+
rails (8.1.0.alpha)
79+
actioncable (= 8.1.0.alpha)
80+
actionmailbox (= 8.1.0.alpha)
81+
actionmailer (= 8.1.0.alpha)
82+
actionpack (= 8.1.0.alpha)
83+
actiontext (= 8.1.0.alpha)
84+
actionview (= 8.1.0.alpha)
85+
activejob (= 8.1.0.alpha)
86+
activemodel (= 8.1.0.alpha)
87+
activerecord (= 8.1.0.alpha)
88+
activestorage (= 8.1.0.alpha)
89+
activesupport (= 8.1.0.alpha)
90+
bundler (>= 1.15.0)
91+
railties (= 8.1.0.alpha)
92+
railties (8.1.0.alpha)
93+
actionpack (= 8.1.0.alpha)
94+
activesupport (= 8.1.0.alpha)
95+
irb (~> 1.13)
96+
rackup (>= 1.0.0)
97+
rake (>= 12.2)
98+
thor (~> 1.0, >= 1.2.2)
99+
zeitwerk (~> 2.6)
100+
101+
PATH
102+
remote: ..
103+
specs:
104+
active_storage_validations (2.0.3)
105+
activejob (>= 6.1.4)
106+
activemodel (>= 6.1.4)
107+
activestorage (>= 6.1.4)
108+
activesupport (>= 6.1.4)
109+
marcel (>= 1.0.3)
110+
111+
GEM
112+
remote: https://rubygems.org/
113+
specs:
114+
action_text-trix (2.1.15)
115+
railties
116+
addressable (2.8.7)
117+
public_suffix (>= 2.0.2, < 7.0)
118+
base64 (0.2.0)
119+
benchmark (0.4.0)
120+
bigdecimal (3.1.9)
121+
builder (3.3.0)
122+
coderay (1.1.3)
123+
combustion (1.5.0)
124+
activesupport (>= 3.0.0)
125+
railties (>= 3.0.0)
126+
thor (>= 0.14.6)
127+
concurrent-ruby (1.3.5)
128+
connection_pool (2.5.3)
129+
crack (1.0.0)
130+
bigdecimal
131+
rexml
132+
crass (1.0.6)
133+
date (3.4.1)
134+
debug (1.10.0)
135+
irb (~> 1.10)
136+
reline (>= 0.3.8)
137+
docile (1.4.1)
138+
drb (2.2.1)
139+
erb (5.0.1)
140+
erubi (1.13.1)
141+
ffi (1.17.2-aarch64-linux-gnu)
142+
ffi (1.17.2-aarch64-linux-musl)
143+
ffi (1.17.2-arm-linux-gnu)
144+
ffi (1.17.2-arm-linux-musl)
145+
ffi (1.17.2-arm64-darwin)
146+
ffi (1.17.2-x86-linux-gnu)
147+
ffi (1.17.2-x86-linux-musl)
148+
ffi (1.17.2-x86_64-darwin)
149+
ffi (1.17.2-x86_64-linux-gnu)
150+
ffi (1.17.2-x86_64-linux-musl)
151+
globalid (1.2.1)
152+
activesupport (>= 6.1)
153+
hashdiff (1.1.2)
154+
i18n (1.14.7)
155+
concurrent-ruby (~> 1.0)
156+
io-console (0.8.0)
157+
irb (1.15.2)
158+
pp (>= 0.6.0)
159+
rdoc (>= 4.0.0)
160+
reline (>= 0.4.2)
161+
logger (1.7.0)
162+
loofah (2.24.1)
163+
crass (~> 1.0.2)
164+
nokogiri (>= 1.12.0)
165+
mail (2.8.1)
166+
mini_mime (>= 0.1.1)
167+
net-imap
168+
net-pop
169+
net-smtp
170+
marcel (1.0.4)
171+
method_source (1.1.0)
172+
mini_magick (5.2.0)
173+
benchmark
174+
logger
175+
mini_mime (1.1.5)
176+
minitest (5.25.5)
177+
minitest-focus (1.4.0)
178+
minitest (>= 4, < 6)
179+
minitest-mock_expectations (1.2.0)
180+
minitest-stub_any_instance (1.0.3)
181+
net-imap (0.5.8)
182+
date
183+
net-protocol
184+
net-pop (0.1.2)
185+
net-protocol
186+
net-protocol (0.2.2)
187+
timeout
188+
net-smtp (0.5.1)
189+
net-protocol
190+
nio4r (2.7.4)
191+
nokogiri (1.16.8-aarch64-linux)
192+
racc (~> 1.4)
193+
nokogiri (1.16.8-arm-linux)
194+
racc (~> 1.4)
195+
nokogiri (1.16.8-arm64-darwin)
196+
racc (~> 1.4)
197+
nokogiri (1.16.8-x86-linux)
198+
racc (~> 1.4)
199+
nokogiri (1.16.8-x86_64-darwin)
200+
racc (~> 1.4)
201+
nokogiri (1.16.8-x86_64-linux)
202+
racc (~> 1.4)
203+
pp (0.6.2)
204+
prettyprint
205+
prettyprint (0.2.0)
206+
pry (0.15.2)
207+
coderay (~> 1.1)
208+
method_source (~> 1.0)
209+
psych (5.2.6)
210+
date
211+
stringio
212+
public_suffix (6.0.2)
213+
racc (1.8.1)
214+
rack (3.1.15)
215+
rack-session (2.1.1)
216+
base64 (>= 0.1.0)
217+
rack (>= 3.0.0)
218+
rack-test (2.2.0)
219+
rack (>= 1.3)
220+
rackup (2.2.1)
221+
rack (>= 3)
222+
rails-dom-testing (2.2.0)
223+
activesupport (>= 5.0.0)
224+
minitest
225+
nokogiri (>= 1.6)
226+
rails-html-sanitizer (1.6.2)
227+
loofah (~> 2.21)
228+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
229+
rake (13.2.1)
230+
rdoc (6.14.0)
231+
erb
232+
psych (>= 4.0.0)
233+
reline (0.6.1)
234+
io-console (~> 0.5)
235+
rexml (3.4.1)
236+
ruby-vips (2.2.3)
237+
ffi (~> 1.12)
238+
logger
239+
securerandom (0.4.1)
240+
simplecov (0.22.0)
241+
docile (~> 1.1)
242+
simplecov-html (~> 0.11)
243+
simplecov_json_formatter (~> 0.1)
244+
simplecov-html (0.13.1)
245+
simplecov_json_formatter (0.1.4)
246+
sqlite3 (2.6.0-aarch64-linux-gnu)
247+
sqlite3 (2.6.0-aarch64-linux-musl)
248+
sqlite3 (2.6.0-arm-linux-gnu)
249+
sqlite3 (2.6.0-arm-linux-musl)
250+
sqlite3 (2.6.0-arm64-darwin)
251+
sqlite3 (2.6.0-x86-linux-gnu)
252+
sqlite3 (2.6.0-x86-linux-musl)
253+
sqlite3 (2.6.0-x86_64-darwin)
254+
sqlite3 (2.6.0-x86_64-linux-gnu)
255+
sqlite3 (2.6.0-x86_64-linux-musl)
256+
stringio (3.1.7)
257+
thor (1.3.2)
258+
timeout (0.4.3)
259+
tzinfo (2.0.6)
260+
concurrent-ruby (~> 1.0)
261+
uri (1.0.3)
262+
useragent (0.16.11)
263+
webmock (3.25.1)
264+
addressable (>= 2.8.0)
265+
crack (>= 0.3.2)
266+
hashdiff (>= 0.4.0, < 2.0.0)
267+
websocket-driver (0.7.7)
268+
base64
269+
websocket-extensions (>= 0.1.0)
270+
websocket-extensions (0.1.5)
271+
zeitwerk (2.7.3)
272+
273+
PLATFORMS
274+
aarch64-linux
275+
aarch64-linux-gnu
276+
aarch64-linux-musl
277+
arm-linux
278+
arm-linux-gnu
279+
arm-linux-musl
280+
arm64-darwin
281+
x86-linux
282+
x86-linux-gnu
283+
x86-linux-musl
284+
x86_64-darwin
285+
x86_64-linux
286+
x86_64-linux-gnu
287+
x86_64-linux-musl
288+
289+
DEPENDENCIES
290+
active_storage_validations!
291+
combustion (~> 1.3)
292+
debug (~> 1.10, >= 1.10.0)
293+
mini_magick (>= 4.9.5)
294+
minitest-focus (~> 1.4)
295+
minitest-mock_expectations (~> 1.2, >= 1.2.0)
296+
minitest-stub_any_instance (~> 1.0, >= 1.0.3)
297+
nokogiri (~> 1.16.7)
298+
pry
299+
rails!
300+
ruby-vips (>= 2.1.0)
301+
simplecov
302+
sqlite3
303+
webmock (>= 3)
304+
305+
BUNDLED WITH
306+
2.6.8

0 commit comments

Comments
 (0)