brew/Library/Homebrew/macos_runner_spec.rb
Carlo Cabrera 3baacbbc72
github_runner_matrix: set timeout on macOS
This will allow us to set a slightly longer timeout on Intel Big Sur,
which is useful because the Intel Big Sur runner often exceeds our short
time limit by itself.
2023-04-25 14:42:36 +08:00

22 lines
416 B
Ruby

# typed: strict
# frozen_string_literal: true
class MacOSRunnerSpec < T::Struct
extend T::Sig
const :name, String
const :runner, String
const :timeout, Integer
const :cleanup, T::Boolean
sig { returns({ name: String, runner: String, timeout: Integer, cleanup: T::Boolean }) }
def to_h
{
name: name,
runner: runner,
timeout: timeout,
cleanup: cleanup,
}
end
end