Sha256: 67376f8b7487fd266c620ee020fdb9cbfbdc9b65246e7c98f7630a1e2f650def

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require 'circleci_reporter'

namespace :circleci_reporter do
  desc 'Report test coverage'
  task :coverage do
    abort unless ENV['CIRCLECI']

    CircleCIReporter.configure do |config|
      config.circleci_token = ENV['CIRCLECI_REPORTER_CIRCLECI_TOKEN']
      config.vcs_token = ENV['CIRCLECI_REPORTER_VCS_TOKEN']
    end

    CircleCIReporter.run
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
circleci_reporter-1.0.1 lib/circleci_reporter/rake_task.rb
circleci_reporter-1.0.0 lib/circleci_reporter/rake_task.rb