determine-test-runners: add debug output

The extra timeout on Intel Big Sur doesn't seem to be set, so I'm adding
this so I can have a closer look.
This commit is contained in:
Carlo Cabrera 2023-04-29 10:56:29 +08:00
parent e191b827cc
commit 50df7fab28
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -42,6 +42,8 @@ module Homebrew
runner_matrix = GitHubRunnerMatrix.new(testing_formulae, deleted_formulae, dependent_matrix: args.dependents?) runner_matrix = GitHubRunnerMatrix.new(testing_formulae, deleted_formulae, dependent_matrix: args.dependents?)
runners = runner_matrix.active_runner_specs_hash runners = runner_matrix.active_runner_specs_hash
ohai "Runners", JSON.pretty_generate(runners)
github_output = ENV.fetch("GITHUB_OUTPUT") github_output = ENV.fetch("GITHUB_OUTPUT")
File.open(github_output, "a") do |f| File.open(github_output, "a") do |f|
f.puts("runners=#{runners.to_json}") f.puts("runners=#{runners.to_json}")