From 8963335eea028a0d7d8a9485bd8ff6802bc85494 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Sat, 8 Apr 2023 01:33:53 +0800 Subject: [PATCH] determine-test-runners: remove fake runner Based on discussion from Homebrew/homebrew-core#127236. --- Library/Homebrew/dev-cmd/determine-test-runners.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Library/Homebrew/dev-cmd/determine-test-runners.rb b/Library/Homebrew/dev-cmd/determine-test-runners.rb index 40eec0e817..c3903988fe 100755 --- a/Library/Homebrew/dev-cmd/determine-test-runners.rb +++ b/Library/Homebrew/dev-cmd/determine-test-runners.rb @@ -44,12 +44,6 @@ module Homebrew runner_matrix = GitHubRunnerMatrix.new(testing_formulae, deleted_formulae, dependent_matrix: args.dependents?) runners = runner_matrix.active_runner_specs_hash - if !args.dependents? && runners.blank? - # If there are no tests to run, add a runner that is meant to do nothing - # to support making the `tests` job a required status check. - runners << { name: "macOS 13-arm64", runner: "ubuntu-latest", no_op: true } - end - github_output = ENV.fetch("GITHUB_OUTPUT") File.open(github_output, "a") do |f| f.puts("runners=#{runners.to_json}")