Class: SimpleCov::Parallel::Adapter::CircleCI Private

Inherits:
Base
  • Object
show all
Defined in:
lib/simplecov/parallel/adapter/circleci.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: MethodStasher

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

all_adapters, inherited

Class Method Details

.available?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


8
9
10
# File 'lib/simplecov/parallel/adapter/circleci.rb', line 8

def self.available?
  ENV.key?('CIRCLECI')
end

Instance Method Details

#activateObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
15
16
17
# File 'lib/simplecov/parallel/adapter/circleci.rb', line 12

def activate
  require 'circleci/parallel'
  require 'fileutils'
  configure_circleci_parallel
  configure_simplecov
end