File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed
Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 3232 run : docker run -d -p 7700:7700 getmeili/meilisearch:latest meilisearch --master-key=masterKey --no-analytics
3333 - name : Run test suite
3434 run : bundle exec rspec
35+ - name : Upload coverage reports to Codecov
36+ uses : codecov/codecov-action@v3
37+ env :
38+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3539
3640 linter_check :
3741 name : linter-check
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ group :development, :test do
1111 gem 'byebug'
1212 gem 'rspec' , '~> 3.0'
1313 gem 'simplecov'
14+ gem 'codecov'
1415
1516 # Used only for testing, none of the classes are exposed to the public API.
1617 gem 'jwt'
Original file line number Diff line number Diff line change 1717<p align =" center " >
1818 <a href =" https://badge.fury.io/rb/meilisearch " ><img src =" https://badge.fury.io/rb/meilisearch.svg " alt =" Latest Stable Version " ></a >
1919 <a href =" https://github.com/meilisearch/meilisearch-ruby/actions " ><img src =" https://github.com/meilisearch/meilisearch-ruby/workflows/Tests/badge.svg " alt =" Test " ></a >
20+ <a href =" https://codecov.io/gh/meilisearch/meilisearch-ruby " >
21+ <img src="https://codecov.io/github/meilisearch/meilisearch-ruby/coverage.svg?branch=main" alt="Codecov">
22+ </a >
2023 <a href =" https://github.com/meilisearch/meilisearch-ruby/blob/main/LICENSE " ><img src =" https://img.shields.io/badge/license-MIT-informational " alt =" License " ></a >
2124 <a href =" https://ms-bors.herokuapp.com/repositories/6 " ><img src =" https://bors.tech/images/badge_small.svg " alt =" Bors enabled " ></a >
2225</p >
Original file line number Diff line number Diff line change 2020# it won't be able to track your files and their coverage!
2121# The SimpleCov.start must be issued before any of your application code is required!
2222require 'simplecov'
23+ require 'codecov'
24+
2325SimpleCov . start do
2426 add_filter %r{^/spec/}
27+ formatter SimpleCov ::Formatter ::Codecov if ENV [ 'CI' ]
2528end
2629
2730require 'meilisearch'
You can’t perform that action at this time.
0 commit comments