Sha256: 0eaf544e1686fcb5c64371c7fa9d2d163ef2050368d81adf8338f845b03c97c4

Contents?: true

Size: 537 Bytes

Versions: 4

Compression:

Stored size: 537 Bytes

Contents

# frozen_string_literal: true

danger.import_plugin('../lib/rcov/plugin.rb')

if ENV['CIRCLE_TOKEN']
  markdown rcov.report(
    current_url: "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/#{ENV['CIRCLE_BUILD_NUM']}/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}",
    master_url: "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/latest/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}&branch=master"
  )
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danger-rcov-1.0.5 Dangerfile
danger-rcov-1.0.4 Dangerfile
danger-rcov-1.0.3 Dangerfile
danger-rcov-1.0.2 Dangerfile