Skip to content

Commit aa85966

Browse files
committed
CI against Rails 8.0
- Exclude Ruby version 3.1 and Rails 8.0 or higher because Rails 8.0 requires Ruby 3.2
1 parent 5fc0b10 commit aa85966

File tree

4 files changed

+281
-0
lines changed

4 files changed

+281
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@ jobs:
1414
- gemfiles/rails_7_0.gemfile
1515
- gemfiles/rails_7_1.gemfile
1616
- gemfiles/rails_7_2.gemfile
17+
- gemfiles/rails_8_0.gemfile
1718
- gemfiles/rails_main.gemfile
1819
continue-on-error: [ false ]
20+
exclude:
21+
- ruby-version: "3.1"
22+
gemfile: gemfiles/rails_8_0.gemfile
23+
- ruby-version: "3.1"
24+
gemfile: gemfiles/rails_main.gemfile
1925

2026
name: ${{ format('Tests (Ruby {0}, {1})', matrix.ruby-version, matrix.gemfile) }}
2127
runs-on: ubuntu-latest

Appraisals

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ appraise "rails_7_2" do
1717
gem "propshaft"
1818
end
1919

20+
appraise "rails_8_0" do
21+
gem "rails", "~> 8.0.0"
22+
gem "propshaft"
23+
end
24+
2025
appraise "rails_main" do
2126
gem "rails", github: "rails/rails", branch: "main"
2227
gem "propshaft"

gemfiles/rails_8_0.gemfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rails", "~> 8.0.0"
7+
gem "sprockets-rails"
8+
gem "sqlite3"
9+
gem "propshaft"
10+
11+
group :test do
12+
gem "turbo-rails"
13+
gem "stimulus-rails"
14+
gem "byebug"
15+
gem "rexml"
16+
gem "capybara"
17+
gem "selenium-webdriver"
18+
gem "webdrivers"
19+
end
20+
21+
gemspec path: "../"

gemfiles/rails_8_0.gemfile.lock

Lines changed: 249 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,249 @@
1+
PATH
2+
remote: ..
3+
specs:
4+
jsbundling-rails (1.3.1)
5+
railties (>= 6.0.0)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
actioncable (8.0.0)
11+
actionpack (= 8.0.0)
12+
activesupport (= 8.0.0)
13+
nio4r (~> 2.0)
14+
websocket-driver (>= 0.6.1)
15+
zeitwerk (~> 2.6)
16+
actionmailbox (8.0.0)
17+
actionpack (= 8.0.0)
18+
activejob (= 8.0.0)
19+
activerecord (= 8.0.0)
20+
activestorage (= 8.0.0)
21+
activesupport (= 8.0.0)
22+
mail (>= 2.8.0)
23+
actionmailer (8.0.0)
24+
actionpack (= 8.0.0)
25+
actionview (= 8.0.0)
26+
activejob (= 8.0.0)
27+
activesupport (= 8.0.0)
28+
mail (>= 2.8.0)
29+
rails-dom-testing (~> 2.2)
30+
actionpack (8.0.0)
31+
actionview (= 8.0.0)
32+
activesupport (= 8.0.0)
33+
nokogiri (>= 1.8.5)
34+
rack (>= 2.2.4)
35+
rack-session (>= 1.0.1)
36+
rack-test (>= 0.6.3)
37+
rails-dom-testing (~> 2.2)
38+
rails-html-sanitizer (~> 1.6)
39+
useragent (~> 0.16)
40+
actiontext (8.0.0)
41+
actionpack (= 8.0.0)
42+
activerecord (= 8.0.0)
43+
activestorage (= 8.0.0)
44+
activesupport (= 8.0.0)
45+
globalid (>= 0.6.0)
46+
nokogiri (>= 1.8.5)
47+
actionview (8.0.0)
48+
activesupport (= 8.0.0)
49+
builder (~> 3.1)
50+
erubi (~> 1.11)
51+
rails-dom-testing (~> 2.2)
52+
rails-html-sanitizer (~> 1.6)
53+
activejob (8.0.0)
54+
activesupport (= 8.0.0)
55+
globalid (>= 0.3.6)
56+
activemodel (8.0.0)
57+
activesupport (= 8.0.0)
58+
activerecord (8.0.0)
59+
activemodel (= 8.0.0)
60+
activesupport (= 8.0.0)
61+
timeout (>= 0.4.0)
62+
activestorage (8.0.0)
63+
actionpack (= 8.0.0)
64+
activejob (= 8.0.0)
65+
activerecord (= 8.0.0)
66+
activesupport (= 8.0.0)
67+
marcel (~> 1.0)
68+
activesupport (8.0.0)
69+
base64
70+
benchmark (>= 0.3)
71+
bigdecimal
72+
concurrent-ruby (~> 1.0, >= 1.3.1)
73+
connection_pool (>= 2.2.5)
74+
drb
75+
i18n (>= 1.6, < 2)
76+
logger (>= 1.4.2)
77+
minitest (>= 5.1)
78+
securerandom (>= 0.3)
79+
tzinfo (~> 2.0, >= 2.0.5)
80+
uri (>= 0.13.1)
81+
addressable (2.8.7)
82+
public_suffix (>= 2.0.2, < 7.0)
83+
appraisal (2.5.0)
84+
bundler
85+
rake
86+
thor (>= 0.14.0)
87+
base64 (0.2.0)
88+
benchmark (0.4.0)
89+
bigdecimal (3.1.8)
90+
builder (3.3.0)
91+
byebug (11.1.3)
92+
capybara (3.40.0)
93+
addressable
94+
matrix
95+
mini_mime (>= 0.1.3)
96+
nokogiri (~> 1.11)
97+
rack (>= 1.6.0)
98+
rack-test (>= 0.6.3)
99+
regexp_parser (>= 1.5, < 3.0)
100+
xpath (~> 3.2)
101+
concurrent-ruby (1.3.4)
102+
connection_pool (2.4.1)
103+
crass (1.0.6)
104+
date (3.4.0)
105+
drb (2.2.1)
106+
erubi (1.13.0)
107+
globalid (1.2.1)
108+
activesupport (>= 6.1)
109+
i18n (1.14.6)
110+
concurrent-ruby (~> 1.0)
111+
io-console (0.7.2)
112+
irb (1.14.1)
113+
rdoc (>= 4.0.0)
114+
reline (>= 0.4.2)
115+
logger (1.6.1)
116+
loofah (2.23.1)
117+
crass (~> 1.0.2)
118+
nokogiri (>= 1.12.0)
119+
mail (2.8.1)
120+
mini_mime (>= 0.1.1)
121+
net-imap
122+
net-pop
123+
net-smtp
124+
marcel (1.0.4)
125+
matrix (0.4.2)
126+
mini_mime (1.1.5)
127+
minitest (5.25.1)
128+
net-imap (0.5.1)
129+
date
130+
net-protocol
131+
net-pop (0.1.2)
132+
net-protocol
133+
net-protocol (0.2.2)
134+
timeout
135+
net-smtp (0.5.0)
136+
net-protocol
137+
nio4r (2.7.4)
138+
nokogiri (1.16.7-x86_64-linux)
139+
racc (~> 1.4)
140+
propshaft (1.1.0)
141+
actionpack (>= 7.0.0)
142+
activesupport (>= 7.0.0)
143+
rack
144+
railties (>= 7.0.0)
145+
psych (5.2.0)
146+
stringio
147+
public_suffix (6.0.1)
148+
racc (1.8.1)
149+
rack (3.1.8)
150+
rack-session (2.0.0)
151+
rack (>= 3.0.0)
152+
rack-test (2.1.0)
153+
rack (>= 1.3)
154+
rackup (2.2.0)
155+
rack (>= 3)
156+
rails (8.0.0)
157+
actioncable (= 8.0.0)
158+
actionmailbox (= 8.0.0)
159+
actionmailer (= 8.0.0)
160+
actionpack (= 8.0.0)
161+
actiontext (= 8.0.0)
162+
actionview (= 8.0.0)
163+
activejob (= 8.0.0)
164+
activemodel (= 8.0.0)
165+
activerecord (= 8.0.0)
166+
activestorage (= 8.0.0)
167+
activesupport (= 8.0.0)
168+
bundler (>= 1.15.0)
169+
railties (= 8.0.0)
170+
rails-dom-testing (2.2.0)
171+
activesupport (>= 5.0.0)
172+
minitest
173+
nokogiri (>= 1.6)
174+
rails-html-sanitizer (1.6.0)
175+
loofah (~> 2.21)
176+
nokogiri (~> 1.14)
177+
railties (8.0.0)
178+
actionpack (= 8.0.0)
179+
activesupport (= 8.0.0)
180+
irb (~> 1.13)
181+
rackup (>= 1.0.0)
182+
rake (>= 12.2)
183+
thor (~> 1.0, >= 1.2.2)
184+
zeitwerk (~> 2.6)
185+
rake (13.2.1)
186+
rdoc (6.7.0)
187+
psych (>= 4.0.0)
188+
regexp_parser (2.9.2)
189+
reline (0.5.11)
190+
io-console (~> 0.5)
191+
rexml (3.3.9)
192+
rubyzip (2.3.2)
193+
securerandom (0.3.2)
194+
selenium-webdriver (4.10.0)
195+
rexml (~> 3.2, >= 3.2.5)
196+
rubyzip (>= 1.2.2, < 3.0)
197+
websocket (~> 1.0)
198+
sprockets (4.2.1)
199+
concurrent-ruby (~> 1.0)
200+
rack (>= 2.2.4, < 4)
201+
sprockets-rails (3.5.2)
202+
actionpack (>= 6.1)
203+
activesupport (>= 6.1)
204+
sprockets (>= 3.0.0)
205+
sqlite3 (2.2.0-x86_64-linux-gnu)
206+
stimulus-rails (1.3.4)
207+
railties (>= 6.0.0)
208+
stringio (3.1.2)
209+
thor (1.3.2)
210+
timeout (0.4.2)
211+
turbo-rails (2.0.11)
212+
actionpack (>= 6.0.0)
213+
railties (>= 6.0.0)
214+
tzinfo (2.0.6)
215+
concurrent-ruby (~> 1.0)
216+
uri (1.0.1)
217+
useragent (0.16.10)
218+
webdrivers (5.3.1)
219+
nokogiri (~> 1.6)
220+
rubyzip (>= 1.3.0)
221+
selenium-webdriver (~> 4.0, < 4.11)
222+
websocket (1.2.11)
223+
websocket-driver (0.7.6)
224+
websocket-extensions (>= 0.1.0)
225+
websocket-extensions (0.1.5)
226+
xpath (3.2.0)
227+
nokogiri (~> 1.8)
228+
zeitwerk (2.7.1)
229+
230+
PLATFORMS
231+
x86_64-linux-gnu
232+
233+
DEPENDENCIES
234+
appraisal
235+
byebug
236+
capybara
237+
jsbundling-rails!
238+
propshaft
239+
rails (~> 8.0.0)
240+
rexml
241+
selenium-webdriver
242+
sprockets-rails
243+
sqlite3
244+
stimulus-rails
245+
turbo-rails
246+
webdrivers
247+
248+
BUNDLED WITH
249+
2.5.16

0 commit comments

Comments
 (0)