File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
2222 runs-on : ubuntu-latest
2323 env :
2424 CI : true
25+ ALLOW_FAILURES : ${{ endsWith(matrix.ruby, 'head') }}
2526 strategy :
2627 fail-fast : false
2728 matrix :
2829 ruby :
29- - 2.4
3030 - 2.5
3131 - 2.6
3232 - 2.7
4343 - name : Install dependencies
4444 run : bundle install --jobs 4 --retry 3
4545 - name : Run tests
46- run : bundle exec rspec spec
47-
46+ run : bundle exec rspec spec || $ALLOW_FAILURES
47+ - name : Coveralls GitHub Action
48+ uses : coverallsapp/github-action@v1.1.2
49+ if : " matrix.ruby == '3.0'"
50+ with :
51+ github-token : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ group :debug do
1010end
1111
1212group :development , :test do
13- gem 'simplecov' , require : false , platforms : :mri
14- gem 'coveralls ' , require : false , platforms : :mri
13+ gem 'simplecov' , '~> 0.21' , platforms : :mri
14+ gem 'simplecov-lcov ' , '~> 0.8' , platforms : :mri
1515end
Original file line number Diff line number Diff line change 22require 'rdf'
33begin
44 require 'simplecov'
5- require 'coveralls'
5+ require 'simplecov-lcov'
6+
7+ SimpleCov ::Formatter ::LcovFormatter . config do |config |
8+ #Coveralls is coverage by default/lcov. Send info results
9+ config . report_with_single_file = true
10+ config . single_report_path = 'coverage/lcov.info'
11+ end
12+
613 SimpleCov . formatter = SimpleCov ::Formatter ::MultiFormatter . new ( [
714 SimpleCov ::Formatter ::HTMLFormatter ,
8- Coveralls :: SimpleCov ::Formatter
15+ SimpleCov ::Formatter :: LcovFormatter
916 ] )
1017 SimpleCov . start do
1118 add_filter "matchers.rb"
You can’t perform that action at this time.
0 commit comments