Welcome to mirror list, hosted at ThFree Co, Russian Federation.

knapsack_env.rb « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 727d18f32e252ab6c94febb7b5abe8e5a882f411 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'knapsack'

module KnapsackEnv
  def self.configure!
    return unless ENV['CI'] && ENV['KNAPSACK_GENERATE_REPORT'] && !ENV['NO_KNAPSACK']

    Knapsack::Adapters::RSpecAdapter.bind
  end
end