File tree 6 files changed +24
-1
lines changed
6 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 37
37
run : bundle exec rspec
38
38
- name : Run examples
39
39
run : bundle exec ruby examples/feed.rb
40
+ - name : Report Coverage
41
+ uses : coverallsapp/github-action@v2
42
+ with :
43
+ flag-name : run-${{ join(matrix.*, '-') }}
44
+ parallel : true
45
+
46
+ upload-coverage :
47
+ needs : test
48
+ if : ${{ always() }}
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - name : Upload Code Coverage Report
52
+ uses : coverallsapp/github-action@v2
53
+ with :
54
+ parallel-finished : true
Original file line number Diff line number Diff line change 2
2
.bundle
3
3
Gemfile.lock
4
4
pkg /*
5
+ coverage
Original file line number Diff line number Diff line change 6
6
* [ #44 ] ( https://github.com/mongoid/mongoid-scroll/pull/44 ) : Drop support for Mogoid 5 and Mongo Ruby Driver - [ @dblock ] ( https://github.com/dblock ) .
7
7
* [ #45 ] ( https://github.com/mongoid/mongoid-scroll/pull/45 ) : Add support for Mogoid 9 - [ @dblock ] ( https://github.com/dblock ) .
8
8
* [ #46 ] ( https://github.com/mongoid/mongoid-scroll/pull/46 ) : Upgrade RuboCop to 1.66.1 - [ @dblock ] ( https://github.com/dblock ) .
9
+ * [ #47 ] ( https://github.com/mongoid/mongoid-scroll/pull/47 ) : Add code coverage - [ @dblock ] ( https://github.com/dblock ) .
9
10
* Your contribution here.
10
11
11
12
### 1.0.1 (2023/03/15)
Original file line number Diff line number Diff line change 12
12
13
13
group :development , :test do
14
14
gem 'bundler'
15
+ gem 'coveralls_reborn' , require : false
15
16
gem 'database_cleaner' , '~> 1.8.5'
16
17
gem 'faker'
17
18
gem 'mongoid-danger' , '~> 0.2.0' , require : false
Original file line number Diff line number Diff line change 15
15
16
16
[ ![ Gem Version] ( https://badge.fury.io/rb/mongoid-scroll.svg )] ( https://badge.fury.io/rb/mongoid-scroll )
17
17
[ ![ Build Status] ( https://github.com/mongoid/mongoid-scroll/actions/workflows/ci.yml/badge.svg )] ( https://github.com/mongoid/mongoid-scroll/actions/workflows/ci.yml )
18
- [ ![ Dependency Status] ( https://gemnasium.com/ mongoid/mongoid-scroll.svg )] ( https://gemnasium.com/ mongoid/mongoid-scroll )
18
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/ mongoid/mongoid-scroll/badge .svg?branch=master )] ( https://coveralls.io/github/ mongoid/mongoid-scroll?branch=master )
19
19
[ ![ Code Climate] ( https://codeclimate.com/github/mongoid/mongoid-scroll.svg )] ( https://codeclimate.com/github/mongoid/mongoid-scroll )
20
20
21
21
Mongoid extension that enables infinite scrolling for ` Mongoid::Criteria ` and ` Mongo::Collection::View ` .
Original file line number Diff line number Diff line change 1
1
$LOAD_PATH. unshift ( File . join ( File . dirname ( __FILE__ ) , '..' , 'lib' ) )
2
2
$LOAD_PATH. unshift ( File . dirname ( __FILE__ ) )
3
3
4
+ require 'coveralls'
5
+ Coveralls . wear! do
6
+ add_filter 'spec'
7
+ end
8
+
4
9
require 'rubygems'
5
10
require 'rspec'
6
11
require 'rspec/its'
You can’t perform that action at this time.
0 commit comments