Sha256: 9a3236a6b5864db1bf086623724ce40742e05bcfa56db3afdbdddc2efbd51ab3
Contents?: true
Size: 498 Bytes
Versions: 61
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true require 'ci/queue/static' module CI module Queue class Grind < Static class << self def from_uri(uri, config) new(uri.path, config) end end def initialize(path, config) io = path == '-' ? STDIN : ::File.open(path) tests_to_run = io.each_line.map(&:strip).reject(&:empty?) test_grinds = (tests_to_run * config.grind_count).sort super(test_grinds, config) end end end end
Version data entries
61 entries across 61 versions & 1 rubygems