Skip to content

Commit

Permalink
Lock simplecov to 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tapan-sh committed Jan 17, 2025
1 parent 83e602b commit a4b8ac3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ jobs:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
ruby-version: 2.5
bundler-cache: true

- name: Run tests
run: bundle exec rspec

- name: Upload Coverage Report to CodeClimate
uses: paambaati/codeclimate-action@v5
- name: Code Coverage
uses: paambaati/codeclimate-action@v9.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
prefix: '/src'
coverageCommand: bash -c "bundle exec rspec spec"
debug: true
coverageCommand: bundle exec rspec
coverageLocations: |
${{github.workspace}}/coverage/.resultset.json:simplecov
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
source 'http://rubygems.org'

gem 'simplecov_json_formatter'

# Specify your gem's dependencies in class_kit.gemspec
gemspec
2 changes: 1 addition & 1 deletion class_kit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'simplecov_json_formatter'

spec.add_dependency 'hash_kit'
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter

SimpleCov.start do
add_filter 'spec/'
add_filter 'spec/'
end

require 'pry'
Expand Down

0 comments on commit a4b8ac3

Please sign in to comment.