Merge pull request #15086 from issyl0/buildpulse-system-cmd

dev-cmd/tests: Deal with `TODO` for a BuildPulse bug that's fixed
This commit is contained in:
Mike McQuaid 2023-03-30 08:52:04 +01:00 committed by GitHub
commit 7e09a612c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,13 +60,12 @@ module Homebrew
ohai "Sending test results to BuildPulse" ohai "Sending test results to BuildPulse"
# TODO: make this use `system_command!` when https://github.com/buildpulse/buildpulse-action/issues/4 is fixed system_command! Formula["buildpulse-test-reporter"].opt_bin/"buildpulse-test-reporter",
system_command Formula["buildpulse-test-reporter"].opt_bin/"buildpulse-test-reporter", args: [
args: [ "submit", "#{HOMEBREW_LIBRARY_PATH}/test/junit",
"submit", "#{HOMEBREW_LIBRARY_PATH}/test/junit", "--account-id", ENV.fetch("HOMEBREW_BUILDPULSE_ACCOUNT_ID"),
"--account-id", ENV.fetch("HOMEBREW_BUILDPULSE_ACCOUNT_ID"), "--repository-id", ENV.fetch("HOMEBREW_BUILDPULSE_REPOSITORY_ID")
"--repository-id", ENV.fetch("HOMEBREW_BUILDPULSE_REPOSITORY_ID") ]
]
end end
def changed_test_files def changed_test_files