lib/datadog/ci/configuration/settings.rb in datadog-ci-1.0.0 vs lib/datadog/ci/configuration/settings.rb in datadog-ci-1.0.1
- old
+ new
@@ -74,9 +74,15 @@
o.default do
Datadog::CI::Utils::Bundle.location
end
end
+ option :itr_code_coverage_use_single_threaded_mode do |o|
+ o.type :bool
+ o.env CI::Ext::Settings::ENV_ITR_CODE_COVERAGE_USE_SINGLE_THREADED_MODE
+ o.default false
+ end
+
define_method(:instrument) do |integration_name, options = {}, &block|
return unless enabled
integration = fetch_integration(integration_name)
integration.configure(options, &block)