Skip to content

Commit

Permalink
Add code coverage tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfixes committed Nov 25, 2020
1 parent c6a5abb commit 2b68e95
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- Special handling of attempts to run the `arduino_ci.rb` CI script against the ruby library instead of an actual Arduino project
- Explicit checks for attemping to test `arduino_ci` itself as if it were a library, resolving a minor annoyance to this developer.
- Code coverage tooling

### Changed
- Arduino backend is now `arduino-cli` version `0.13.0`
Expand Down
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in arduino_ci.gemspec
gemspec

gem "bundler", "> 1.15", require: false, group: :test
gem "keepachangelog_manager", "~> 0.0.2", require: false, group: :test
gem "rspec", "~> 3.0", require: false, group: :test
gem 'rubocop', '~>0.59.0', require: false, group: :test
gem 'simplecov', require: false, group: :test
gem 'yard', '~>0.9.11', require: false, group: :test
6 changes: 0 additions & 6 deletions arduino_ci.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,4 @@ Gem::Specification.new do |spec|

spec.add_dependency "os", "~> 1.0"
spec.add_dependency "rubyzip", "~> 1.2"

spec.add_development_dependency "bundler", "> 1.15"
spec.add_development_dependency "keepachangelog_manager", "~> 0.0.2"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency 'rubocop', '~>0.59.0'
spec.add_development_dependency 'yard', '~>0.9.11'
end
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
require 'simplecov'
SimpleCov.start do
add_filter %r{^/spec/}
end
require "bundler/setup"
require "arduino_ci"

Expand Down

0 comments on commit 2b68e95

Please sign in to comment.