2022-01-26 12:08:38 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
# rubocop:disable Rails/RakeEnvironment
|
|
|
|
|
|
|
|
namespace :knapsack do
|
|
|
|
desc "Download latest knapsack report"
|
|
|
|
task :download do
|
|
|
|
QA::Tools::KnapsackReport.download
|
|
|
|
end
|
|
|
|
|
|
|
|
desc "Merge and upload knapsack report"
|
2022-03-02 08:16:31 +05:30
|
|
|
task :upload, [:glob] do |_task, args|
|
|
|
|
QA::Tools::KnapsackReport.upload_report(args[:glob])
|
|
|
|
end
|
|
|
|
|
|
|
|
desc "Report long running spec files"
|
|
|
|
task :notify_long_running_specs do
|
|
|
|
QA::Tools::LongRunningSpecReporter.execute
|
2022-01-26 12:08:38 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
# rubocop:enable Rails/RakeEnvironment
|