Skip to content

Commit b7ae67e

Browse files
committed
explicitly update the bundled_html field
1 parent 7cb0a24 commit b7ae67e

File tree

5 files changed

+60
-63
lines changed

5 files changed

+60
-63
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ jobs:
9898
zip -r simplecov.zip coverage;
9999
RESPONSE=$(curl -X POST https://flaky.xyz/api/reports/simplecov \
100100
101-
-F "expected_parts=1" \
102-
-F "run_identifier=${{ github.run_id }}" \
103101
-H "Authorization: Bearer ${{ secrets.FLAKY_XYZ_TOKEN }}");
104102
echo $RESPONSE;
105103
echo "MARKDOWN=$(echo $RESPONSE | jq -r '.markdown')" >> $GITHUB_OUTPUT;

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
source "https://rubygems.org"
22

3-
# TODO: Use Rails 8
4-
gem "rails", "~> 7.2.0"
3+
gem "rails", "~> 8.0.0"
54
gem "sqlite3", ">= 1.4" # Use sqlite3 as the database for Active Record
65
gem "puma", ">= 5.0" # Use the Puma web server [https://github.com/puma/puma]
76
gem "bootsnap", require: false # Reduces boot times through caching; required in config/boot.rb
@@ -39,7 +38,6 @@ group :development, :test do
3938
gem "dotenv-rails", "~> 3.1"
4039

4140
gem "brakeman", require: false
42-
# TODO: fix rubocop complaints
4341
gem "rubocop-rails-omakase", require: false
4442

4543
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem

Gemfile.lock

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,65 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (7.2.2)
5-
actionpack (= 7.2.2)
6-
activesupport (= 7.2.2)
4+
actioncable (8.0.0.1)
5+
actionpack (= 8.0.0.1)
6+
activesupport (= 8.0.0.1)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
99
zeitwerk (~> 2.6)
10-
actionmailbox (7.2.2)
11-
actionpack (= 7.2.2)
12-
activejob (= 7.2.2)
13-
activerecord (= 7.2.2)
14-
activestorage (= 7.2.2)
15-
activesupport (= 7.2.2)
10+
actionmailbox (8.0.0.1)
11+
actionpack (= 8.0.0.1)
12+
activejob (= 8.0.0.1)
13+
activerecord (= 8.0.0.1)
14+
activestorage (= 8.0.0.1)
15+
activesupport (= 8.0.0.1)
1616
mail (>= 2.8.0)
17-
actionmailer (7.2.2)
18-
actionpack (= 7.2.2)
19-
actionview (= 7.2.2)
20-
activejob (= 7.2.2)
21-
activesupport (= 7.2.2)
17+
actionmailer (8.0.0.1)
18+
actionpack (= 8.0.0.1)
19+
actionview (= 8.0.0.1)
20+
activejob (= 8.0.0.1)
21+
activesupport (= 8.0.0.1)
2222
mail (>= 2.8.0)
2323
rails-dom-testing (~> 2.2)
24-
actionpack (7.2.2)
25-
actionview (= 7.2.2)
26-
activesupport (= 7.2.2)
24+
actionpack (8.0.0.1)
25+
actionview (= 8.0.0.1)
26+
activesupport (= 8.0.0.1)
2727
nokogiri (>= 1.8.5)
28-
racc
29-
rack (>= 2.2.4, < 3.2)
28+
rack (>= 2.2.4)
3029
rack-session (>= 1.0.1)
3130
rack-test (>= 0.6.3)
3231
rails-dom-testing (~> 2.2)
3332
rails-html-sanitizer (~> 1.6)
3433
useragent (~> 0.16)
35-
actiontext (7.2.2)
36-
actionpack (= 7.2.2)
37-
activerecord (= 7.2.2)
38-
activestorage (= 7.2.2)
39-
activesupport (= 7.2.2)
34+
actiontext (8.0.0.1)
35+
actionpack (= 8.0.0.1)
36+
activerecord (= 8.0.0.1)
37+
activestorage (= 8.0.0.1)
38+
activesupport (= 8.0.0.1)
4039
globalid (>= 0.6.0)
4140
nokogiri (>= 1.8.5)
42-
actionview (7.2.2)
43-
activesupport (= 7.2.2)
41+
actionview (8.0.0.1)
42+
activesupport (= 8.0.0.1)
4443
builder (~> 3.1)
4544
erubi (~> 1.11)
4645
rails-dom-testing (~> 2.2)
4746
rails-html-sanitizer (~> 1.6)
48-
activejob (7.2.2)
49-
activesupport (= 7.2.2)
47+
activejob (8.0.0.1)
48+
activesupport (= 8.0.0.1)
5049
globalid (>= 0.3.6)
51-
activemodel (7.2.2)
52-
activesupport (= 7.2.2)
53-
activerecord (7.2.2)
54-
activemodel (= 7.2.2)
55-
activesupport (= 7.2.2)
50+
activemodel (8.0.0.1)
51+
activesupport (= 8.0.0.1)
52+
activerecord (8.0.0.1)
53+
activemodel (= 8.0.0.1)
54+
activesupport (= 8.0.0.1)
5655
timeout (>= 0.4.0)
57-
activestorage (7.2.2)
58-
actionpack (= 7.2.2)
59-
activejob (= 7.2.2)
60-
activerecord (= 7.2.2)
61-
activesupport (= 7.2.2)
56+
activestorage (8.0.0.1)
57+
actionpack (= 8.0.0.1)
58+
activejob (= 8.0.0.1)
59+
activerecord (= 8.0.0.1)
60+
activesupport (= 8.0.0.1)
6261
marcel (~> 1.0)
63-
activesupport (7.2.2)
62+
activesupport (8.0.0.1)
6463
base64
6564
benchmark (>= 0.3)
6665
bigdecimal
@@ -72,6 +71,7 @@ GEM
7271
minitest (>= 5.1)
7372
securerandom (>= 0.3)
7473
tzinfo (~> 2.0, >= 2.0.5)
74+
uri (>= 0.13.1)
7575
addressable (2.8.7)
7676
public_suffix (>= 2.0.2, < 7.0)
7777
ast (2.4.2)
@@ -239,30 +239,30 @@ GEM
239239
rack (>= 1.3)
240240
rackup (2.2.1)
241241
rack (>= 3)
242-
rails (7.2.2)
243-
actioncable (= 7.2.2)
244-
actionmailbox (= 7.2.2)
245-
actionmailer (= 7.2.2)
246-
actionpack (= 7.2.2)
247-
actiontext (= 7.2.2)
248-
actionview (= 7.2.2)
249-
activejob (= 7.2.2)
250-
activemodel (= 7.2.2)
251-
activerecord (= 7.2.2)
252-
activestorage (= 7.2.2)
253-
activesupport (= 7.2.2)
242+
rails (8.0.0.1)
243+
actioncable (= 8.0.0.1)
244+
actionmailbox (= 8.0.0.1)
245+
actionmailer (= 8.0.0.1)
246+
actionpack (= 8.0.0.1)
247+
actiontext (= 8.0.0.1)
248+
actionview (= 8.0.0.1)
249+
activejob (= 8.0.0.1)
250+
activemodel (= 8.0.0.1)
251+
activerecord (= 8.0.0.1)
252+
activestorage (= 8.0.0.1)
253+
activesupport (= 8.0.0.1)
254254
bundler (>= 1.15.0)
255-
railties (= 7.2.2)
255+
railties (= 8.0.0.1)
256256
rails-dom-testing (2.2.0)
257257
activesupport (>= 5.0.0)
258258
minitest
259259
nokogiri (>= 1.6)
260260
rails-html-sanitizer (1.6.1)
261261
loofah (~> 2.21)
262262
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)
263-
railties (7.2.2)
264-
actionpack (= 7.2.2)
265-
activesupport (= 7.2.2)
263+
railties (8.0.0.1)
264+
actionpack (= 8.0.0.1)
265+
activesupport (= 8.0.0.1)
266266
irb (~> 1.13)
267267
rackup (>= 1.0.0)
268268
rake (>= 12.2)
@@ -406,7 +406,7 @@ DEPENDENCIES
406406
omniauth-github (~> 2.0)
407407
omniauth-rails_csrf_protection (~> 1.0)
408408
puma (>= 5.0)
409-
rails (~> 7.2.0)
409+
rails (~> 8.0.0)
410410
rubocop-rails-omakase
411411
rubyzip
412412
selenium-webdriver

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
This is a project to simplify collection and analysis of CI results.
44

5-
- [ ] Be able to upload and see SimpleCov HTML reports.
5+
- [x] Be able to upload and see SimpleCov HTML reports.
6+
- [ ] Update instructions with the working version from the monorepo.
67
- [ ] Report Rspec test coverage along the time.
78
- [ ] Be able to upload and see Sorbet's Spoom HTML reports.
89
- [ ] Report Sorbet typing along the time.

app/models/report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def generate_bundled_html
3535
end
3636

3737
def simplecov_generate_bundled_html
38-
bundled_html = parts.first.blob
38+
update(bundled_html: parts.first.blob)
3939

4040
# with_folder_with_unzipped_parts do |tempdir|
4141
# # `File::FNM_DOTMATCH` to also include hidden files

0 commit comments

Comments
 (0)