File tree 14 files changed +155
-54
lines changed
14 files changed +155
-54
lines changed Original file line number Diff line number Diff line change 25
25
- rails_60
26
26
- rails_61
27
27
- rails_70
28
- env :
29
- COVERAGE : true
30
28
steps :
31
29
- uses : actions/checkout@v3
32
30
- name : Configure bundler (default)
42
40
ruby-version : ${{ matrix.ruby.value }}
43
41
bundler-cache : true
44
42
- name : Run tests
43
+ env :
44
+ COVERAGE : true
45
45
run : bundle exec rake test TESTOPTS="--verbose"
46
- - name : Make sure gemfiles are up to date
47
- run : ruby -Itest -rbundler/setup -rgemfiles/lint -e 'exit(Minitest.run)'
48
- - name : Make sure gemspec builds without warnings
49
- run : ruby -Itest -rbundler/setup -rgemfiles/gemspec_lint -e 'exit(Minitest.run)'
46
+ - uses : actions/upload-artifact@v3
47
+ with :
48
+ name : coverage
49
+ path : coverage
50
+ if-no-files-found : error
51
+
52
+ upload_coverage :
53
+ name : Upload Coverage
54
+ runs-on : ubuntu-latest
55
+ needs :
56
+ - test
57
+ steps :
58
+ - uses : actions/checkout@v3
59
+ - uses : actions/download-artifact@v3
60
+ with :
61
+ name : coverage
62
+ path : coverage
63
+ - uses : codecov/codecov-action@v3
64
+ with :
65
+ directory : coverage
66
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 1
1
.bundle
2
2
pkg
3
+ coverage
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ group :development do
6
6
gem 'rails' , '~> 7.0.0'
7
7
8
8
gem 'mocha'
9
- gem 'minitest-rg'
9
+ gem 'minitest'
10
+ gem 'minitest-reporters'
10
11
gem 'rails-controller-testing'
12
+ gem 'simplecov' , require : false
13
+ gem 'simplecov-cobertura'
11
14
end
12
15
13
16
group :rubocop do
Original file line number Diff line number Diff line change 75
75
i18n (>= 1.6 , < 2 )
76
76
minitest (>= 5.1 )
77
77
tzinfo (~> 2.0 )
78
+ ansi (1.5.0 )
78
79
ast (2.4.2 )
79
80
builder (3.2.4 )
80
81
concurrent-ruby (1.2.2 )
81
82
crass (1.0.6 )
82
83
date (3.3.3 )
83
84
date (3.3.3-java )
85
+ docile (1.4.0 )
84
86
erubi (1.12.0 )
85
87
globalid (1.1.0 )
86
88
activesupport (>= 5.0 )
@@ -102,10 +104,12 @@ GEM
102
104
marcel (1.0.2 )
103
105
method_source (1.0.0 )
104
106
mini_mime (1.1.2 )
105
- mini_portile2 (2.8.1 )
106
107
minitest (5.18.0 )
107
- minitest-rg (5.2.0 )
108
- minitest (~> 5.0 )
108
+ minitest-reporters (1.6.0 )
109
+ ansi
110
+ builder
111
+ minitest (>= 5.0 )
112
+ ruby-progressbar
109
113
mocha (2.0.2 )
110
114
ruby2_keywords (>= 0.0.5 )
111
115
net-imap (0.3.4 )
@@ -119,18 +123,19 @@ GEM
119
123
net-protocol
120
124
nio4r (2.5.8 )
121
125
nio4r (2.5.8-java )
122
- nokogiri (1.14.2 )
123
- mini_portile2 (~> 2.8.0 )
126
+ nokogiri (1.14.2-arm64-darwin )
124
127
racc (~> 1.4 )
125
128
nokogiri (1.14.2-java )
126
129
racc (~> 1.4 )
130
+ nokogiri (1.14.2-x86_64-linux )
131
+ racc (~> 1.4 )
127
132
parallel (1.22.1 )
128
133
parser (3.2.1.1 )
129
134
ast (~> 2.4.1 )
130
135
racc (1.6.2 )
131
136
racc (1.6.2-java )
132
137
rack (2.2.6.4 )
133
- rack-test (2.0.2 )
138
+ rack-test (2.1.0 )
134
139
rack (>= 1.3 )
135
140
rails (7.0.4.3 )
136
141
actioncable (= 7.0.4.3 )
183
188
parser (>= 3.2.1.0 )
184
189
ruby-progressbar (1.13.0 )
185
190
ruby2_keywords (0.0.5 )
191
+ simplecov (0.22.0 )
192
+ docile (~> 1.1 )
193
+ simplecov-html (~> 0.11 )
194
+ simplecov_json_formatter (~> 0.1 )
195
+ simplecov-cobertura (2.1.0 )
196
+ rexml
197
+ simplecov (~> 0.19 )
198
+ simplecov-html (0.12.3 )
199
+ simplecov_json_formatter (0.1.4 )
186
200
thor (1.2.1 )
187
201
timeout (0.3.2 )
188
202
tzinfo (2.0.6 )
@@ -196,16 +210,20 @@ GEM
196
210
zeitwerk (2.6.7 )
197
211
198
212
PLATFORMS
213
+ arm64-darwin-22
199
214
java
200
- ruby
215
+ x86_64-linux
201
216
202
217
DEPENDENCIES
203
218
inherited_resources !
204
- minitest-rg
219
+ minitest
220
+ minitest-reporters
205
221
mocha
206
222
rails (~> 7.0.0 )
207
223
rails-controller-testing
208
224
rubocop
225
+ simplecov
226
+ simplecov-cobertura
209
227
210
228
BUNDLED WITH
211
229
2.4.8
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- ( set -x; bundle $1 )
3
+ ( set -x; bundle $@ )
4
4
5
5
for gemfile in gemfiles/* /Gemfile; do
6
- ( set -x; BUNDLE_GEMFILE=" $gemfile " bundle $1 )
6
+ ( set -x; BUNDLE_GEMFILE=" $gemfile " bundle $@ )
7
7
done
Original file line number Diff line number Diff line change
1
+ coverage :
2
+ status :
3
+ project :
4
+ default :
5
+ threshold : 0.05%
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ group :development do
6
6
gem 'rails' , '~> 6.0.3.a'
7
7
8
8
gem 'mocha'
9
- gem 'minitest-rg'
9
+ gem 'minitest'
10
+ gem 'minitest-reporters'
10
11
gem 'rails-controller-testing'
12
+ gem 'simplecov' , require : false
13
+ gem 'simplecov-cobertura'
11
14
end
Original file line number Diff line number Diff line change 65
65
minitest (~> 5.1 )
66
66
tzinfo (~> 1.1 )
67
67
zeitwerk (~> 2.2 , >= 2.2.2 )
68
+ ansi (1.5.0 )
68
69
builder (3.2.4 )
69
70
concurrent-ruby (1.2.2 )
70
71
crass (1.0.6 )
71
72
date (3.3.3 )
72
73
date (3.3.3-java )
74
+ docile (1.4.0 )
73
75
erubi (1.12.0 )
74
76
globalid (1.1.0 )
75
77
activesupport (>= 5.0 )
89
91
marcel (1.0.2 )
90
92
method_source (1.0.0 )
91
93
mini_mime (1.1.2 )
92
- mini_portile2 (2.8.1 )
93
94
minitest (5.18.0 )
94
- minitest-rg (5.2.0 )
95
- minitest (~> 5.0 )
95
+ minitest-reporters (1.6.0 )
96
+ ansi
97
+ builder
98
+ minitest (>= 5.0 )
99
+ ruby-progressbar
96
100
mocha (2.0.2 )
97
101
ruby2_keywords (>= 0.0.5 )
98
102
net-imap (0.3.4 )
@@ -106,15 +110,16 @@ GEM
106
110
net-protocol
107
111
nio4r (2.5.8 )
108
112
nio4r (2.5.8-java )
109
- nokogiri (1.14.2 )
110
- mini_portile2 (~> 2.8.0 )
113
+ nokogiri (1.14.2-arm64-darwin )
111
114
racc (~> 1.4 )
112
115
nokogiri (1.14.2-java )
113
116
racc (~> 1.4 )
117
+ nokogiri (1.14.2-x86_64-linux )
118
+ racc (~> 1.4 )
114
119
racc (1.6.2 )
115
120
racc (1.6.2-java )
116
- rack (2.2.6.3 )
117
- rack-test (2.0.2 )
121
+ rack (2.2.6.4 )
122
+ rack-test (2.1.0 )
118
123
rack (>= 1.3 )
119
124
rails (6.0.6.1 )
120
125
actioncable (= 6.0.6.1 )
150
155
responders (3.1.0 )
151
156
actionpack (>= 5.2 )
152
157
railties (>= 5.2 )
158
+ rexml (3.2.5 )
159
+ ruby-progressbar (1.13.0 )
153
160
ruby2_keywords (0.0.5 )
161
+ simplecov (0.22.0 )
162
+ docile (~> 1.1 )
163
+ simplecov-html (~> 0.11 )
164
+ simplecov_json_formatter (~> 0.1 )
165
+ simplecov-cobertura (2.1.0 )
166
+ rexml
167
+ simplecov (~> 0.19 )
168
+ simplecov-html (0.12.3 )
169
+ simplecov_json_formatter (0.1.4 )
154
170
sprockets (4.2.0 )
155
171
concurrent-ruby (~> 1.0 )
156
172
rack (>= 2.2.4 , < 4 )
@@ -172,15 +188,19 @@ GEM
172
188
zeitwerk (2.6.7 )
173
189
174
190
PLATFORMS
191
+ arm64-darwin-22
175
192
java
176
- ruby
193
+ x86_64-linux
177
194
178
195
DEPENDENCIES
179
196
inherited_resources !
180
- minitest-rg
197
+ minitest
198
+ minitest-reporters
181
199
mocha
182
200
rails (~> 6.0.3.a )
183
201
rails-controller-testing
202
+ simplecov
203
+ simplecov-cobertura
184
204
185
205
BUNDLED WITH
186
206
2.4.8
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ group :development do
6
6
gem 'rails' , '~> 6.1.0'
7
7
8
8
gem 'mocha'
9
- gem 'minitest-rg'
9
+ gem 'minitest'
10
+ gem 'minitest-reporters'
10
11
gem 'rails-controller-testing'
12
+ gem 'simplecov' , require : false
13
+ gem 'simplecov-cobertura'
11
14
end
Original file line number Diff line number Diff line change 69
69
minitest (>= 5.1 )
70
70
tzinfo (~> 2.0 )
71
71
zeitwerk (~> 2.3 )
72
+ ansi (1.5.0 )
72
73
builder (3.2.4 )
73
74
concurrent-ruby (1.2.2 )
74
75
crass (1.0.6 )
75
76
date (3.3.3 )
76
77
date (3.3.3-java )
78
+ docile (1.4.0 )
77
79
erubi (1.12.0 )
78
80
globalid (1.1.0 )
79
81
activesupport (>= 5.0 )
93
95
marcel (1.0.2 )
94
96
method_source (1.0.0 )
95
97
mini_mime (1.1.2 )
96
- mini_portile2 (2.8.1 )
97
98
minitest (5.18.0 )
98
- minitest-rg (5.2.0 )
99
- minitest (~> 5.0 )
99
+ minitest-reporters (1.6.0 )
100
+ ansi
101
+ builder
102
+ minitest (>= 5.0 )
103
+ ruby-progressbar
100
104
mocha (2.0.2 )
101
105
ruby2_keywords (>= 0.0.5 )
102
106
net-imap (0.3.4 )
@@ -110,15 +114,16 @@ GEM
110
114
net-protocol
111
115
nio4r (2.5.8 )
112
116
nio4r (2.5.8-java )
113
- nokogiri (1.14.2 )
114
- mini_portile2 (~> 2.8.0 )
117
+ nokogiri (1.14.2-arm64-darwin )
115
118
racc (~> 1.4 )
116
119
nokogiri (1.14.2-java )
117
120
racc (~> 1.4 )
121
+ nokogiri (1.14.2-x86_64-linux )
122
+ racc (~> 1.4 )
118
123
racc (1.6.2 )
119
124
racc (1.6.2-java )
120
125
rack (2.2.6.4 )
121
- rack-test (2.0.2 )
126
+ rack-test (2.1.0 )
122
127
rack (>= 1.3 )
123
128
rails (6.1.7.3 )
124
129
actioncable (= 6.1.7.3 )
154
159
responders (3.1.0 )
155
160
actionpack (>= 5.2 )
156
161
railties (>= 5.2 )
162
+ rexml (3.2.5 )
163
+ ruby-progressbar (1.13.0 )
157
164
ruby2_keywords (0.0.5 )
165
+ simplecov (0.22.0 )
166
+ docile (~> 1.1 )
167
+ simplecov-html (~> 0.11 )
168
+ simplecov_json_formatter (~> 0.1 )
169
+ simplecov-cobertura (2.1.0 )
170
+ rexml
171
+ simplecov (~> 0.19 )
172
+ simplecov-html (0.12.3 )
173
+ simplecov_json_formatter (0.1.4 )
158
174
sprockets (4.2.0 )
159
175
concurrent-ruby (~> 1.0 )
160
176
rack (>= 2.2.4 , < 4 )
@@ -174,15 +190,19 @@ GEM
174
190
zeitwerk (2.6.7 )
175
191
176
192
PLATFORMS
193
+ arm64-darwin-22
177
194
java
178
- ruby
195
+ x86_64-linux
179
196
180
197
DEPENDENCIES
181
198
inherited_resources !
182
- minitest-rg
199
+ minitest
200
+ minitest-reporters
183
201
mocha
184
202
rails (~> 6.1.0 )
185
203
rails-controller-testing
204
+ simplecov
205
+ simplecov-cobertura
186
206
187
207
BUNDLED WITH
188
208
2.4.8
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments