2021-12-07 13:10:32 -05:00
|
|
|
# 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"
|
2021-12-28 16:16:11 -05:00
|
|
|
task :upload, [:glob] do |_task, args|
|
|
|
|
QA::Tools::KnapsackReport.upload_report(args[:glob])
|
2021-12-07 13:10:32 -05:00
|
|
|
end
|
2022-01-14 19:15:15 -05:00
|
|
|
|
|
|
|
desc "Report long running spec files"
|
|
|
|
task :notify_long_running_specs do
|
|
|
|
QA::Tools::LongRunningSpecReporter.execute
|
|
|
|
end
|
2021-12-07 13:10:32 -05:00
|
|
|
end
|
|
|
|
# rubocop:enable Rails/RakeEnvironment
|