blob: 01d909773d2eb1f6998e641fc88eb57dbd5f009f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
module Ci
class DeleteUnitTestsWorker
include ApplicationWorker
data_consistency :always
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
feature_category :code_testing
idempotent!
def perform
Ci::DeleteUnitTestsService.new.execute
end
end
end
|