Separate rake test for simplecov
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
0e183aa721
commit
99a7bf8823
|
@ -4,3 +4,10 @@ desc "GITLAB | Run all tests"
|
||||||
task :test do
|
task :test do
|
||||||
Rake::Task["gitlab:test"].invoke
|
Rake::Task["gitlab:test"].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
|
unless Rails.env.production?
|
||||||
|
require 'coveralls/rake/task'
|
||||||
|
Coveralls::RakeTask.new
|
||||||
|
desc "GITLAB | Run all tests on CI with simplecov"
|
||||||
|
task :test_ci => [:spinach, 'coveralls:push']
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue