1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/Rakefile
Sam 459530bd96
Code coverage improvements (#5434)
* Add coverage for helpers.rb

* Add simplecov to git actions

* Test simplecov

* Changed this to run on all pull requests, not just main and 7-0

* Fix yaml spacing

* Create simplecov file and pointer for file

* Add empty hash to json file

* See if we need simplecov gem enabled

* Update coverage file

* Add in covered_percent

* Move simplecov_file out

* Remove token

* Add token back in

* Remove unnecessary code

* Add comment for running simplecov in the rake file

* Fix typo in spec file

* Remove references to codecov, add minimum requirement of 90% to simplecov
2022-08-03 09:45:06 -07:00

19 lines
610 B
Ruby

require "bundler/gem_tasks"
require "rake/testtask"
require "standard/rake"
# If you want to generate API docs:
# gem install yard && yard && open doc/index.html
# YARD readme: https://rubydoc.info/gems/yard/file/README.md
# YARD tags: https://www.rubydoc.info/gems/yard/file/docs/Tags.md
# YARD cheatsheet: https://gist.github.com/phansch/db18a595d2f5f1ef16646af72fe1fb0e
# To check code coverage, include simplecov in the Gemfile and
# run `COVERAGE=1 bundle exec rake`
Rake::TestTask.new(:test) do |test|
test.warning = true
test.pattern = "test/**/test_*.rb"
end
task default: [:standard, :test]