dev-cmd/tests: Deal with TODO
for a BuildPulse bug that's fixed
- This does what the comment told us to do, use the bang variant of `system_command` to not swallow the errors.
This commit is contained in:
parent
f4ee196f90
commit
a480982e75
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user