github_runner_matrix: fix test

This commit is contained in:
Carlo Cabrera 2023-04-25 16:09:20 +08:00
parent 1bcabbfa57
commit 2568e5aec4
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -7,6 +7,7 @@ describe GitHubRunnerMatrix do
before do before do
allow(ENV).to receive(:fetch).with("HOMEBREW_LINUX_RUNNER").and_return("ubuntu-latest") allow(ENV).to receive(:fetch).with("HOMEBREW_LINUX_RUNNER").and_return("ubuntu-latest")
allow(ENV).to receive(:fetch).with("HOMEBREW_LINUX_CLEANUP").and_return("false") allow(ENV).to receive(:fetch).with("HOMEBREW_LINUX_CLEANUP").and_return("false")
allow(ENV).to receive(:fetch).with("HOMEBREW_MACOS_TIMEOUT").and_return("90")
allow(ENV).to receive(:fetch).with("GITHUB_RUN_ID").and_return("12345") allow(ENV).to receive(:fetch).with("GITHUB_RUN_ID").and_return("12345")
allow(ENV).to receive(:fetch).with("GITHUB_RUN_ATTEMPT").and_return("1") allow(ENV).to receive(:fetch).with("GITHUB_RUN_ATTEMPT").and_return("1")
end end