Add CC_TEST_REPORTER_ID to tests and bump simplecov to 0.21 (#191)
* Bump simplecov to 0.21 * Don't explicitly set the simplecov formatter
This commit is contained in:
parent
c1189f6513
commit
754349c594
|
@ -25,6 +25,8 @@ jobs:
|
|||
run: sudo apt update && sudo apt install -yy grep binutils-multiarch
|
||||
- name: Run tests
|
||||
run: bundle exec rake
|
||||
env:
|
||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
||||
- name: Publish code coverage
|
||||
if: ${{ success() && env.CC_TEST_REPORTER_ID }}
|
||||
uses: paambaati/codeclimate-action@v2.7.5
|
||||
|
|
12
Gemfile.lock
12
Gemfile.lock
|
@ -13,7 +13,6 @@ GEM
|
|||
docile (1.4.0)
|
||||
elftools (1.1.3)
|
||||
bindata (~> 2)
|
||||
json (2.6.1)
|
||||
parallel (1.21.0)
|
||||
parser (3.1.1.0)
|
||||
ast (~> 2.4.1)
|
||||
|
@ -46,11 +45,12 @@ GEM
|
|||
rubocop-ast (1.16.0)
|
||||
parser (>= 3.1.1.0)
|
||||
ruby-progressbar (1.11.0)
|
||||
simplecov (0.17.1)
|
||||
simplecov (0.21.2)
|
||||
docile (~> 1.1)
|
||||
json (>= 1.8, < 3)
|
||||
simplecov-html (~> 0.10.0)
|
||||
simplecov-html (0.10.2)
|
||||
simplecov-html (~> 0.11)
|
||||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
unicode-display_width (2.1.0)
|
||||
webrick (1.7.0)
|
||||
yard (0.9.27)
|
||||
|
@ -64,7 +64,7 @@ DEPENDENCIES
|
|||
rake (~> 13.0)
|
||||
rspec (~> 3.7)
|
||||
rubocop (~> 1.0)
|
||||
simplecov (~> 0.17, < 0.18)
|
||||
simplecov (~> 0.21)
|
||||
yard (~> 0.9)
|
||||
|
||||
BUNDLED WITH
|
||||
|
|
|
@ -39,6 +39,6 @@ Gem::Specification.new do |s|
|
|||
s.add_development_dependency 'rake', '~> 13.0'
|
||||
s.add_development_dependency 'rspec', '~> 3.7'
|
||||
s.add_development_dependency 'rubocop', '~> 1.0'
|
||||
s.add_development_dependency 'simplecov', '~> 0.17', '< 0.18'
|
||||
s.add_development_dependency 'simplecov', '~> 0.21'
|
||||
s.add_development_dependency 'yard', '~> 0.9'
|
||||
end
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
|
||||
require 'simplecov'
|
||||
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
||||
[SimpleCov::Formatter::HTMLFormatter]
|
||||
)
|
||||
SimpleCov.start do
|
||||
add_filter '/spec/'
|
||||
add_filter '/lib/one_gadget/builds/'
|
||||
|
|
Loading…
Reference in New Issue