summaryrefslogtreecommitdiff
path: root/app/workers/build_coverage_worker.rb
blob: fd5ba11f73e92c99451b7e8c744cbfa96fcb86ef (plain)
1
2
3
4
5
6
7
8
9
10
class BuildCoverageWorker
  include Sidekiq::Worker
  include PipelineQueue

  enqueue_in group: :processing

  def perform(build_id)
    Ci::Build.find_by(id: build_id)&.update_coverage
  end
end