File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 pull_request :
77 branches : [ master ]
88
9- env :
10- BUNDLE_WITHOUT : " development"
11-
129jobs :
1310 test :
1411 runs-on : ${{ matrix.os }}
1916 os : [ ubuntu-latest, windows-latest ]
2017
2118 steps :
22- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v5
2320
2421 - uses : ruby/setup-ruby@v1
2522 with :
@@ -29,28 +26,11 @@ jobs:
2926 - name : bundle exec rspec
3027 run : bundle exec rspec --format progress --force-colour
3128
32- - name : Prepare Coveralls test coverage report
33- uses : coverallsapp/github-action@v2
34- with :
35- github-token : ${{ secrets.GITHUB_TOKEN }}
36- flag-name : " ${{ matrix.ruby }} @${{ matrix.os }}"
37- parallel : true
38-
39- coveralls :
40- needs : test
41- runs-on : ubuntu-latest
42- steps :
43- - name : Finalize Coveralls test coverage report
44- uses : coverallsapp/github-action@v2
45- with :
46- github-token : ${{ secrets.GITHUB_TOKEN }}
47- parallel-finished : true
48-
4929 lint :
5030 runs-on : ubuntu-latest
5131
5232 steps :
53- - uses : actions/checkout@v4
33+ - uses : actions/checkout@v5
5434
5535 - uses : ruby/setup-ruby@v1
5636 with :
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ group :test do
1212 gem "rubocop-rake"
1313 gem "rubocop-rspec"
1414
15- gem "simplecov" , :require => false
16- gem "simplecov-lcov" , :require => false
15+ gem "simplecov" , :require => false
1716end
1817
1918group :doc do
Original file line number Diff line number Diff line change 22
33[ ![ Gem Version] ( https://badge.fury.io/rb/http-form_data.svg )] ( http://rubygems.org/gems/http-form_data )
44[ ![ Build Status] ( https://github.com/httprb/form_data/workflows/CI/badge.svg )] ( https://github.com/httprb/form_data/actions?query=workflow%3ACI+branch%3Amaster )
5- [ ![ Code Climate] ( https://codeclimate.com/github/httprb/form_data.svg )] ( https://codeclimate.com/github/httprb/form_data )
6- [ ![ Coverage Status] ( https://coveralls.io/repos/github/httprb/form_data/badge.svg?branch=master )] ( https://coveralls.io/github/httprb/form_data?branch=master )
75
86Utility-belt to build form data request bodies.
97
Original file line number Diff line number Diff line change 22
33require "simplecov"
44
5- if ENV [ "CI" ]
6- require "simplecov-lcov"
7-
8- SimpleCov ::Formatter ::LcovFormatter . config do |config |
9- config . report_with_single_file = true
10- config . lcov_file_name = "lcov.info"
11- end
12-
13- SimpleCov . formatter = SimpleCov ::Formatter ::LcovFormatter
14- end
15-
165SimpleCov . start do
176 add_filter "/spec/"
187 enable_coverage :branch
You can’t perform that action at this time.
0 commit comments